Class HwmfColorRef

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class HwmfColorRef
    extends java.lang.Object
    implements java.lang.Cloneable
    A 32-bit ColorRef Object that defines the color value. Red (1 byte): An 8-bit unsigned integer that defines the relative intensity of red. Green (1 byte): An 8-bit unsigned integer that defines the relative intensity of green. Blue (1 byte): An 8-bit unsigned integer that defines the relative intensity of blue. Reserved (1 byte): An 8-bit unsigned integer that MUST be 0x00.
    • Constructor Detail

      • HwmfColorRef

        public HwmfColorRef()
      • HwmfColorRef

        public HwmfColorRef​(java.awt.Color colorRef)
    • Method Detail

      • getColor

        public java.awt.Color getColor()
      • clone

        public HwmfColorRef clone()
        Creates a new object of the same class and with the same contents as this object.
        Returns:
        a clone of this instance.
        Throws:
        java.lang.OutOfMemoryError - if there is not enough memory.
        See Also:
        Cloneable