Package org.robovm.apple.coregraphics
Class CGPath
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.coregraphics.CGPath
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Direct Known Subclasses:
CGMutablePath
public class CGPath extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CGPath.Applier
static class
CGPath.CGPathPtr
-
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
CGPath()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(CGPath.Applier applier)
void
applyWithBlock(org.robovm.objc.block.VoidBlock1<org.robovm.apple.coregraphics.CGPathElement> block)
boolean
containsPoint(CGAffineTransform m, CGPoint point, boolean eoFill)
static CGPath
createCopy(CGPath path)
static CGPath
createCopyByDashingPath(CGPath path, CGAffineTransform transform, double phase, double[] lengths)
static CGPath
createCopyByDashingPath(CGPath path, CGAffineTransform transform, double phase, float[] lengths)
static CGPath
createCopyByStrokingPath(CGPath path, CGAffineTransform transform, double lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, double miterLimit)
static CGPath
createCopyByTransformingPath(CGPath path, CGAffineTransform transform)
static CGPath
createWithEllipseInRect(CGRect rect, CGAffineTransform transform)
static CGPath
createWithRect(CGRect rect, CGAffineTransform transform)
static CGPath
createWithRoundedRect(CGRect rect, double cornerWidth, double cornerHeight, CGAffineTransform transform)
boolean
equalsTo(CGPath path2)
CGRect
getBoundingBox()
static long
getClassTypeID()
CGPoint
getCurrentPoint()
CGRect
getPathBoundingBox()
boolean
isEmpty()
boolean
isRect(CGRect rect)
-
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
-
createCopyByDashingPath
public static CGPath createCopyByDashingPath(CGPath path, CGAffineTransform transform, double phase, double[] lengths)
-
createCopyByDashingPath
public static CGPath createCopyByDashingPath(CGPath path, CGAffineTransform transform, double phase, float[] lengths)
-
apply
public void apply(CGPath.Applier applier)
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 2.0 and later.
-
createCopyByTransformingPath
public static CGPath createCopyByTransformingPath(CGPath path, CGAffineTransform transform)
- Since:
- Available in iOS 5.0 and later.
-
createWithRect
public static CGPath createWithRect(CGRect rect, CGAffineTransform transform)
- Since:
- Available in iOS 4.0 and later.
-
createWithEllipseInRect
public static CGPath createWithEllipseInRect(CGRect rect, CGAffineTransform transform)
- Since:
- Available in iOS 5.0 and later.
-
createWithRoundedRect
public static CGPath createWithRoundedRect(CGRect rect, double cornerWidth, double cornerHeight, CGAffineTransform transform)
- Since:
- Available in iOS 7.0 and later.
-
createCopyByStrokingPath
public static CGPath createCopyByStrokingPath(CGPath path, CGAffineTransform transform, double lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, double miterLimit)
- Since:
- Available in iOS 5.0 and later.
-
equalsTo
public boolean equalsTo(CGPath path2)
- Since:
- Available in iOS 2.0 and later.
-
isEmpty
public boolean isEmpty()
- Since:
- Available in iOS 2.0 and later.
-
isRect
public boolean isRect(CGRect rect)
- Since:
- Available in iOS 2.0 and later.
-
getCurrentPoint
public CGPoint getCurrentPoint()
- Since:
- Available in iOS 2.0 and later.
-
getBoundingBox
public CGRect getBoundingBox()
- Since:
- Available in iOS 2.0 and later.
-
getPathBoundingBox
public CGRect getPathBoundingBox()
- Since:
- Available in iOS 4.0 and later.
-
containsPoint
public boolean containsPoint(CGAffineTransform m, CGPoint point, boolean eoFill)
- Since:
- Available in iOS 2.0 and later.
-
applyWithBlock
public void applyWithBlock(org.robovm.objc.block.VoidBlock1<org.robovm.apple.coregraphics.CGPathElement> block)
- Since:
- Available in iOS 11.0 and later.
-
-