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:
AutoCloseable
- Direct Known Subclasses:
CGMutablePath
public class CGPath extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCGPath.Applierstatic classCGPath.CGPathPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCGPath() -
Method Summary
Modifier and Type Method Description voidapply(CGPath.Applier applier)voidapplyWithBlock(VoidBlock1<org.robovm.apple.coregraphics.CGPathElement> block)booleancontainsPoint(CGAffineTransform m, CGPoint point, boolean eoFill)static CGPathcreateCopy(CGPath path)static CGPathcreateCopyByDashingPath(CGPath path, CGAffineTransform transform, double phase, double[] lengths)static CGPathcreateCopyByDashingPath(CGPath path, CGAffineTransform transform, double phase, float[] lengths)static CGPathcreateCopyByStrokingPath(CGPath path, CGAffineTransform transform, double lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, double miterLimit)static CGPathcreateCopyByTransformingPath(CGPath path, CGAffineTransform transform)static CGPathcreateWithEllipseInRect(CGRect rect, CGAffineTransform transform)static CGPathcreateWithRect(CGRect rect, CGAffineTransform transform)static CGPathcreateWithRoundedRect(CGRect rect, double cornerWidth, double cornerHeight, CGAffineTransform transform)booleanequalsTo(CGPath path2)CGRectgetBoundingBox()static longgetClassTypeID()CGPointgetCurrentPoint()CGRectgetPathBoundingBox()booleanisEmpty()booleanisRect(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
-
Constructor Details
-
CGPath
protected CGPath()
-
-
Method Details
-
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
-
getClassTypeID
public static long getClassTypeID() -
createCopy
-
createCopyByTransformingPath
-
createWithRect
-
createWithEllipseInRect
-
createWithRoundedRect
public static CGPath createWithRoundedRect(CGRect rect, double cornerWidth, double cornerHeight, CGAffineTransform transform) -
createCopyByStrokingPath
public static CGPath createCopyByStrokingPath(CGPath path, CGAffineTransform transform, double lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, double miterLimit) -
equalsTo
-
isEmpty
public boolean isEmpty() -
isRect
-
getCurrentPoint
-
getBoundingBox
-
getPathBoundingBox
-
containsPoint
-
applyWithBlock
- Since:
- Available in iOS 11.0 and later.
-