Package org.robovm.apple.uikit
Class UIGraphics
java.lang.Object
org.robovm.apple.foundation.CocoaUtility
org.robovm.apple.uikit.UIGraphics
public class UIGraphics extends CocoaUtility
-
Constructor Summary
Constructors Constructor Description UIGraphics() -
Method Summary
Modifier and Type Method Description static voidaddPDFContextDestinationAtPoint(String name, CGPoint point)static voidbeginImageContext(CGSize size)static voidbeginImageContext(CGSize size, boolean opaque, double scale)static voidbeginPDFContextToData(NSMutableData data, CGRect bounds, CGPDFContextOptions documentInfo)static booleanbeginPDFContextToFile(String path, CGRect bounds, CGPDFContextOptions documentInfo)static voidbeginPDFPage()static voidbeginPDFPage(CGRect bounds, CGPDFBoxOptions pageInfo)static voidendImageContext()static voidendPDFContext()static CGContextgetCurrentContext()static UIImagegetImageFromCurrentImageContext()static CGRectgetPDFContextBounds()static voidpopContext()static voidpushContext(CGContext context)static voidrectClip(CGRect rect)static voidrectFill(CGRect rect)static voidrectFill(CGRect rect, CGBlendMode blendMode)static voidrectFrame(CGRect rect)static voidrectFrame(CGRect rect, CGBlendMode blendMode)static voidsetPDFContextDestinationForRect(String name, CGRect rect)static voidsetPDFContextURLForRect(NSURL url, CGRect rect)
-
Constructor Details
-
UIGraphics
public UIGraphics()
-
-
Method Details
-
getCurrentContext
-
pushContext
-
popContext
public static void popContext() -
rectFill
-
rectFill
-
rectFrame
-
rectFrame
-
rectClip
-
beginImageContext
-
beginImageContext
-
getImageFromCurrentImageContext
-
endImageContext
public static void endImageContext() -
beginPDFContextToFile
public static boolean beginPDFContextToFile(String path, CGRect bounds, CGPDFContextOptions documentInfo) -
beginPDFContextToData
public static void beginPDFContextToData(NSMutableData data, CGRect bounds, CGPDFContextOptions documentInfo) -
endPDFContext
public static void endPDFContext() -
beginPDFPage
public static void beginPDFPage() -
beginPDFPage
-
getPDFContextBounds
-
setPDFContextURLForRect
-
addPDFContextDestinationAtPoint
-
setPDFContextDestinationForRect
-