Package org.robovm.apple.coregraphics
Class CGPDFContext
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coregraphics.CGContext
org.robovm.apple.coregraphics.CGPDFContext
- All Implemented Interfaces:
AutoCloseable
public class CGPDFContext extends CGContext
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robovm.apple.coregraphics.CGContext
CGContext.CGContextPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Constructor Description CGPDFContext() -
Method Summary
Modifier and Type Method Description voidaddDestinationAtPoint(String name, CGPoint point)voidaddDocumentMetadata(NSData metadata)static voidbeginPage(CGContext context, CGPDFBoxOptions pageInfo)static voidbeginTag(CGContext context, CGPDFTagType tagType, CGPDFTagProperties tagProperties)voidcloseContext()static CGPDFContextcreate(CGDataConsumer consumer, CGRect mediaBox, CGPDFContextOptions auxiliaryInfo)static CGPDFContextcreateWithURL(NSURL url, CGRect mediaBox, CGPDFContextOptions auxiliaryInfo)voidendPage()voidendTag()voidsetDestinationForRect(String name, CGRect rect)voidsetOutline(NSDictionary outline)voidsetURLForRect(NSURL url, CGRect rect)Methods inherited from class org.robovm.apple.coregraphics.CGContext
addArc, addArcToPoint, addCurveToPoint, addEllipseInRect, addLines, addLineToPoint, addPath, addQuadCurveToPoint, addRect, addRects, beginPage, beginPath, beginTransparencyLayer, beginTransparencyLayer, clearRect, clip, clipToMask, clipToRect, clipToRects, closePath, concatCTM, convertPointToDeviceSpace, convertPointToUserSpace, convertRectToDeviceSpace, convertRectToUserSpace, convertSizeToDeviceSpace, convertSizeToUserSpace, drawImage, drawLayerAtPoint, drawLayerInRect, drawLinearGradient, drawPath, drawPDFPage, drawRadialGradient, drawShading, drawTiledImage, endTransparencyLayer, evenOddClip, evenOddFillPath, fillEllipseInRect, fillPath, fillRect, fillRects, flush, getClassTypeID, getClipBoundingBox, getCTM, getInterpolationQuality, getPath, getPathBoundingBox, getPathCurrentPoint, getTextMatrix, getTextPosition, getUserSpaceToDeviceSpaceTransform, isPathEmpty, moveToPoint, pathContainsPoint, replacePathWithStrokedPath, resetClip, restoreGState, rotateCTM, saveGState, scaleCTM, selectFont, setAllowsAntialiasing, setAllowsFontSmoothing, setAllowsFontSubpixelPositioning, setAllowsFontSubpixelQuantization, setAlpha, setBlendMode, setCharacterSpacing, setCMYKFillColor, setCMYKStrokeColor, setFillColor, setFillColor, setFillColor, setFillColorSpace, setFillPattern, setFillPattern, setFlatness, setFont, setFontSize, setGrayFillColor, setGrayStrokeColor, setInterpolationQuality, setLineCap, setLineDash, setLineDash, setLineJoin, setLineWidth, setMiterLimit, setPatternPhase, setRenderingIntent, setRGBFillColor, setRGBStrokeColor, setShadow, setShadow, setShouldAntialias, setShouldSmoothFonts, setShouldSubpixelPositionFonts, setShouldSubpixelQuantizeFonts, setStrokeColor, setStrokeColor, setStrokeColor, setStrokeColorSpace, setStrokePattern, setStrokePattern, setTextDrawingMode, setTextMatrix, setTextPosition, showGlyphs, showGlyphsAtPoint, showGlyphsAtPositions, showGlyphsWithAdvances, showText, showTextAtPoint, strokeEllipseInRect, strokeLineSegments, strokePath, strokeRect, strokeRect, synchronize, translateCTMMethods 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
-
CGPDFContext
public CGPDFContext()
-
-
Method Details
-
create
public static CGPDFContext create(CGDataConsumer consumer, CGRect mediaBox, CGPDFContextOptions auxiliaryInfo) -
createWithURL
public static CGPDFContext createWithURL(NSURL url, CGRect mediaBox, CGPDFContextOptions auxiliaryInfo) -
closeContext
public void closeContext() -
beginPage
-
endPage
public void endPage() -
addDocumentMetadata
-
setURLForRect
-
addDestinationAtPoint
-
setDestinationForRect
-
setOutline
- Since:
- Available in iOS 11.0 and later.
-
beginTag
public static void beginTag(CGContext context, CGPDFTagType tagType, CGPDFTagProperties tagProperties)- Since:
- Available in iOS 13.0 and later.
-
endTag
public void endTag()- Since:
- Available in iOS 13.0 and later.
-