Package org.robovm.apple.coregraphics
Class CGImage
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.coregraphics.CGImage
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CGImage extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CGImage.CGImagePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CGImage()
-
Method Summary
-
Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
-
-
-
Method Detail
-
create
public static CGImage create(long width, long height, long bitsPerComponent, long bitsPerPixel, long bytesPerRow, CGColorSpace space, CGBitmapInfo bitmapInfo, CGDataProvider provider, double[] decode, boolean shouldInterpolate, CGColorRenderingIntent intent)
-
createWithMaskingColors
public static CGImage createWithMaskingColors(CGImage image, double[] components)
-
createWithJPEGDataProvider
public static CGImage createWithJPEGDataProvider(CGDataProvider source, boolean shouldInterpolate, CGColorRenderingIntent intent)
-
createWithJPEGDataProvider
public static CGImage createWithJPEGDataProvider(CGDataProvider source, double[] decode, boolean shouldInterpolate, CGColorRenderingIntent intent)
-
createWithPNGDataProvider
public static CGImage createWithPNGDataProvider(CGDataProvider source, boolean shouldInterpolate, CGColorRenderingIntent intent)
-
createWithPNGDataProvider
public static CGImage createWithPNGDataProvider(CGDataProvider source, double[] decode, boolean shouldInterpolate, CGColorRenderingIntent intent)
-
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.
-
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.
-
createCopy
public static CGImage createCopy(CGImage image, CGColorSpace space)
- 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.
-
-