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:
AutoCloseable
public class CGImage extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCGImage.CGImagePtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCGImage() -
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
-
Constructor Details
-
CGImage
protected CGImage()
-
-
Method Details
-
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
-
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() -
createCopy
-
createWithImageInRect
-
createWithMask
-
createCopy
-
isMask
public boolean isMask() -
getWidth
public long getWidth() -
getHeight
public long getHeight() -
getBitsPerComponent
public long getBitsPerComponent() -
getBitsPerPixel
public long getBitsPerPixel() -
getBytesPerRow
public long getBytesPerRow() -
getColorSpace
-
getAlphaInfo
-
getDataProvider
-
getDecode
-
shouldInterpolate
public boolean shouldInterpolate() -
getRenderingIntent
-
getBitmapInfo
-
getByteOrderInfo
- Since:
- Available in iOS 12.0 and later.
-
getPixelFormatInfo
- Since:
- Available in iOS 12.0 and later.
-
getUTType
- Since:
- Available in iOS 9.0 and later.
-