Class CGColor

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CGColor
    extends CFType
    • Constructor Detail

      • CGColor

        protected CGColor()
    • Method Detail

      • getComponentsD

        public double[] getComponentsD()
      • getComponentsF

        public float[] getComponentsF()
      • createCopy

        public static CGColor createCopy​(CGColor color)
        Since:
        Available in iOS 2.0 and later.
      • createCopy

        public static CGColor createCopy​(CGColor color,
                                         double alpha)
        Since:
        Available in iOS 2.0 and later.
      • equalsTo

        public boolean equalsTo​(CGColor color2)
        Since:
        Available in iOS 2.0 and later.
      • getNumberOfComponents

        public long getNumberOfComponents()
        Since:
        Available in iOS 2.0 and later.
      • getAlpha

        public double getAlpha()
        Since:
        Available in iOS 2.0 and later.
      • getColorSpace

        public CGColorSpace getColorSpace()
        Since:
        Available in iOS 2.0 and later.
      • getPattern

        public CGPattern getPattern()
        Since:
        Available in iOS 2.0 and later.
      • getClassTypeID

        public static long getClassTypeID()
        Since:
        Available in iOS 2.0 and later.