Class HwmfColorRef

  • All Implemented Interfaces:
    org.apache.poi.common.Duplicatable, GenericRecord

    public class HwmfColorRef
    extends java.lang.Object
    implements org.apache.poi.common.Duplicatable, GenericRecord
    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()
      • setColor

        public void setColor​(java.awt.Color color)
      • copy

        public HwmfColorRef copy()
        Specified by:
        copy in interface org.apache.poi.common.Duplicatable
      • toString

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

        public java.util.Map<java.lang.String,​java.util.function.Supplier<?>> getGenericProperties()
        Specified by:
        getGenericProperties in interface GenericRecord