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:
java.lang.AutoCloseable
public class CGPDFContext extends CGContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robovm.apple.coregraphics.CGContext
CGContext.CGContextPtr
-
Nested 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDestinationAtPoint(java.lang.String name, CGPoint point)
void
addDocumentMetadata(NSData metadata)
static void
beginPage(CGContext context, CGPDFBoxOptions pageInfo)
void
closeContext()
static CGPDFContext
create(CGDataConsumer consumer, CGRect mediaBox, CGPDFContextOptions auxiliaryInfo)
static CGPDFContext
createWithURL(NSURL url, CGRect mediaBox, CGPDFContextOptions auxiliaryInfo)
void
endPage()
void
setDestinationForRect(java.lang.String name, CGRect rect)
void
setOutline(NSDictionary outline)
void
setURLForRect(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, translateCTM
-
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 CGPDFContext create(CGDataConsumer consumer, CGRect mediaBox, CGPDFContextOptions auxiliaryInfo)
- Since:
- Available in iOS 2.0 and later.
-
createWithURL
public static CGPDFContext createWithURL(NSURL url, CGRect mediaBox, CGPDFContextOptions auxiliaryInfo)
- Since:
- Available in iOS 2.0 and later.
-
closeContext
public void closeContext()
- Since:
- Available in iOS 2.0 and later.
-
beginPage
public static void beginPage(CGContext context, CGPDFBoxOptions pageInfo)
- Since:
- Available in iOS 2.0 and later.
-
endPage
public void endPage()
-
addDocumentMetadata
public void addDocumentMetadata(NSData metadata)
- Since:
- Available in iOS 4.0 and later.
-
setURLForRect
public void setURLForRect(NSURL url, CGRect rect)
- Since:
- Available in iOS 2.0 and later.
-
addDestinationAtPoint
public void addDestinationAtPoint(java.lang.String name, CGPoint point)
- Since:
- Available in iOS 2.0 and later.
-
setDestinationForRect
public void setDestinationForRect(java.lang.String name, CGRect rect)
- Since:
- Available in iOS 2.0 and later.
-
setOutline
public void setOutline(NSDictionary outline)
- Since:
- Available in iOS 11.0 and later.
-
-