Packages

 

com.aspose.cad.fileformats.iges.commondefinitions

Class ColorRGB

  • java.lang.Object
    • com.aspose.ms.System.ValueType<T>
      • com.aspose.ms.lang.Struct<ColorRGB>
        • com.aspose.cad.fileformats.iges.commondefinitions.ColorRGB


  • public class ColorRGB
    extends com.aspose.ms.lang.Struct<ColorRGB>

    Structure that defines RGB color

    • Field Detail

      • Red

        public byte Red

        R component

      • Green

        public byte Green

        G component

      • Blue

        public byte Blue

        B component

    • Constructor Detail

      • ColorRGB

        public ColorRGB()
      • ColorRGB

        public ColorRGB(byte red,
                        byte green,
                        byte blue)

        Constructor for ColorRGB from separate R,G and B

        Parameters:
        red - Red value
        green - Green value
        blue - Blue value
    • Method Detail

      • CloneTo

        public void CloneTo(ColorRGB that)
        Specified by:
        CloneTo in class com.aspose.ms.System.ValueType<ColorRGB>
      • Clone

        public ColorRGB Clone()
        Specified by:
        Clone in class com.aspose.ms.System.ValueType<ColorRGB>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object