Class CGImage

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CGImage
    extends CFType
    • Constructor Detail

      • CGImage

        protected CGImage()
    • Method Detail

      • createWithMaskingColors

        public static CGImage createWithMaskingColors​(CGImage image,
                                                      double[] components)
      • createMask

        public static CGImage createMask​(long width,
                                         long height,
                                         long bitsPerComponent,
                                         long bitsPerPixel,
                                         long bytesPerRow,
                                         CGDataProvider provider,
                                         double[] decode,
                                         boolean shouldInterpolate)
      • getClassTypeID

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

        public static CGImage createCopy​(CGImage image)
        Since:
        Available in iOS 2.0 and later.
      • createWithImageInRect

        public static CGImage createWithImageInRect​(CGImage image,
                                                    CGRect rect)
        Since:
        Available in iOS 2.0 and later.
      • createWithMask

        public static CGImage createWithMask​(CGImage image,
                                             CGImage mask)
        Since:
        Available in iOS 2.0 and later.
      • isMask

        public boolean isMask()
        Since:
        Available in iOS 2.0 and later.
      • getWidth

        public long getWidth()
        Since:
        Available in iOS 2.0 and later.
      • getHeight

        public long getHeight()
        Since:
        Available in iOS 2.0 and later.
      • getBitsPerComponent

        public long getBitsPerComponent()
        Since:
        Available in iOS 2.0 and later.
      • getBitsPerPixel

        public long getBitsPerPixel()
        Since:
        Available in iOS 2.0 and later.
      • getBytesPerRow

        public long getBytesPerRow()
        Since:
        Available in iOS 2.0 and later.
      • getColorSpace

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

        public CGImageAlphaInfo getAlphaInfo()
        Since:
        Available in iOS 2.0 and later.
      • getDataProvider

        public CGDataProvider getDataProvider()
        Since:
        Available in iOS 2.0 and later.
      • getDecode

        public org.robovm.rt.bro.ptr.MachineSizedFloatPtr getDecode()
        Since:
        Available in iOS 2.0 and later.
      • shouldInterpolate

        public boolean shouldInterpolate()
        Since:
        Available in iOS 2.0 and later.
      • getRenderingIntent

        public CGColorRenderingIntent getRenderingIntent()
        Since:
        Available in iOS 2.0 and later.
      • getBitmapInfo

        public CGBitmapInfo getBitmapInfo()
        Since:
        Available in iOS 2.0 and later.
      • getByteOrderInfo

        public CGImageByteOrderInfo getByteOrderInfo()
        Since:
        Available in iOS 12.0 and later.
      • getPixelFormatInfo

        public CGImagePixelFormatInfo getPixelFormatInfo()
        Since:
        Available in iOS 12.0 and later.
      • getUTType

        public java.lang.String getUTType()
        Since:
        Available in iOS 9.0 and later.