Class Colorref

  • All Implemented Interfaces:
    java.lang.Cloneable

    @Internal
    public class Colorref
    extends java.lang.Object
    implements java.lang.Cloneable
    24-bit color structure
    • Constructor Detail

      • Colorref

        public Colorref()
      • Colorref

        public Colorref​(byte[] data,
                        int offset)
      • Colorref

        public Colorref​(int value)
    • Method Detail

      • valueOfIco

        public static Colorref valueOfIco​(int ico)
      • clone

        public Colorref clone()
                       throws java.lang.CloneNotSupportedException
        Throws:
        java.lang.CloneNotSupportedException
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getValue

        public int getValue()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • isEmpty

        public boolean isEmpty()
      • serialize

        public void serialize​(byte[] data,
                              int offset)
      • setValue

        public void setValue​(int value)
      • toByteArray

        public byte[] toByteArray()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object