Package org.robovm.apple.coregraphics
Class CGMutablePath
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.coregraphics.CGPath
-
- org.robovm.apple.coregraphics.CGMutablePath
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CGMutablePath extends CGPath
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CGMutablePath.CGMutablePathPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.coregraphics.CGPath
CGPath.Applier, 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
CGMutablePath()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addArc(CGAffineTransform m, double x, double y, double radius, double startAngle, double endAngle, boolean clockwise)
void
addArcToPoint(CGAffineTransform m, double x1, double y1, double x2, double y2, double radius)
void
addCurveToPoint(CGAffineTransform m, double cp1x, double cp1y, double cp2x, double cp2y, double x, double y)
void
addEllipseInRect(CGAffineTransform m, CGRect rect)
void
addLines(CGAffineTransform m, CGPoint[] points)
void
addLineToPoint(CGAffineTransform m, double x, double y)
void
addPath(CGAffineTransform m, CGPath path2)
void
addQuadCurveToPoint(CGAffineTransform m, double cpx, double cpy, double x, double y)
void
addRect(CGAffineTransform m, CGRect rect)
void
addRects(CGAffineTransform m, CGRect[] rects)
void
addRelativeArc(CGAffineTransform matrix, double x, double y, double radius, double startAngle, double delta)
void
addRoundedRect(CGAffineTransform transform, CGRect rect, double cornerWidth, double cornerHeight)
void
closeSubpath()
static CGMutablePath
createMutable()
static CGMutablePath
createMutableCopy(CGPath path)
static CGMutablePath
createMutableCopyByTransformingPath(CGPath path, CGAffineTransform transform)
void
moveToPoint(CGAffineTransform m, double x, double y)
-
Methods inherited from class org.robovm.apple.coregraphics.CGPath
apply, applyWithBlock, containsPoint, createCopy, createCopyByDashingPath, createCopyByDashingPath, createCopyByStrokingPath, createCopyByTransformingPath, createWithEllipseInRect, createWithRect, createWithRoundedRect, equalsTo, getBoundingBox, getClassTypeID, getCurrentPoint, getPathBoundingBox, isEmpty, isRect
-
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
-
addRects
public void addRects(CGAffineTransform m, CGRect[] rects)
-
addLines
public void addLines(CGAffineTransform m, CGPoint[] points)
-
createMutable
public static CGMutablePath createMutable()
- Since:
- Available in iOS 2.0 and later.
-
createMutableCopy
public static CGMutablePath createMutableCopy(CGPath path)
- Since:
- Available in iOS 2.0 and later.
-
createMutableCopyByTransformingPath
public static CGMutablePath createMutableCopyByTransformingPath(CGPath path, CGAffineTransform transform)
- Since:
- Available in iOS 5.0 and later.
-
addRoundedRect
public void addRoundedRect(CGAffineTransform transform, CGRect rect, double cornerWidth, double cornerHeight)
- Since:
- Available in iOS 7.0 and later.
-
moveToPoint
public void moveToPoint(CGAffineTransform m, double x, double y)
- Since:
- Available in iOS 2.0 and later.
-
addLineToPoint
public void addLineToPoint(CGAffineTransform m, double x, double y)
- Since:
- Available in iOS 2.0 and later.
-
addQuadCurveToPoint
public void addQuadCurveToPoint(CGAffineTransform m, double cpx, double cpy, double x, double y)
- Since:
- Available in iOS 2.0 and later.
-
addCurveToPoint
public void addCurveToPoint(CGAffineTransform m, double cp1x, double cp1y, double cp2x, double cp2y, double x, double y)
- Since:
- Available in iOS 2.0 and later.
-
closeSubpath
public void closeSubpath()
- Since:
- Available in iOS 2.0 and later.
-
addRect
public void addRect(CGAffineTransform m, CGRect rect)
- Since:
- Available in iOS 2.0 and later.
-
addEllipseInRect
public void addEllipseInRect(CGAffineTransform m, CGRect rect)
- Since:
- Available in iOS 2.0 and later.
-
addRelativeArc
public void addRelativeArc(CGAffineTransform matrix, double x, double y, double radius, double startAngle, double delta)
- Since:
- Available in iOS 5.0 and later.
-
addArc
public void addArc(CGAffineTransform m, double x, double y, double radius, double startAngle, double endAngle, boolean clockwise)
- Since:
- Available in iOS 2.0 and later.
-
addArcToPoint
public void addArcToPoint(CGAffineTransform m, double x1, double y1, double x2, double y2, double radius)
- Since:
- Available in iOS 2.0 and later.
-
addPath
public void addPath(CGAffineTransform m, CGPath path2)
- Since:
- Available in iOS 2.0 and later.
-
-