Package org.robovm.apple.uikit
Class UIBezierPath
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIBezierPath
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class UIBezierPath extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 3.2 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UIBezierPath.UIBezierPathPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description UIBezierPath()
UIBezierPath(NSCoder aDecoder)
protected
UIBezierPath(NSObject.Handle h, long handle)
protected
UIBezierPath(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addArc(CGPoint center, double radius, double startAngle, double endAngle, boolean clockwise)
void
addClip()
void
addCurve(CGPoint endPoint, CGPoint controlPoint1, CGPoint controlPoint2)
void
addLine(CGPoint point)
void
addQuadCurve(CGPoint endPoint, CGPoint controlPoint)
void
appendPath(UIBezierPath bezierPath)
void
applyTransform(CGAffineTransform transform)
void
closePath()
boolean
containsPoint(CGPoint point)
void
encode(NSCoder coder)
void
fill()
void
fill(CGBlendMode blendMode, double alpha)
CGRect
getBounds()
CGPath
getCGPath()
CGPoint
getCurrentPoint()
double
getFlatness()
CGLineCap
getLineCapStyle()
protected void
getLineDash(org.robovm.rt.bro.ptr.MachineSizedFloatPtr pattern, org.robovm.rt.bro.ptr.MachineSizedSIntPtr count, org.robovm.rt.bro.ptr.MachineSizedFloatPtr phase)
double[]
getLineDashD()
float[]
getLineDashF()
double
getLineDashPhase()
CGLineJoin
getLineJoinStyle()
double
getLineWidth()
double
getMiterLimit()
protected long
init(NSCoder aDecoder)
boolean
isEmpty()
void
move(CGPoint point)
static UIBezierPath
newArc(CGPoint center, double radius, double startAngle, double endAngle, boolean clockwise)
static UIBezierPath
newOval(CGRect rect)
static UIBezierPath
newPath(CGPath CGPath)
static UIBezierPath
newRect(CGRect rect)
static UIBezierPath
newRoundedRect(CGRect rect, double cornerRadius)
static UIBezierPath
newRoundedRect(CGRect rect, UIRectCorner corners, CGSize cornerRadii)
void
removeAllPoints()
UIBezierPath
reverse()
void
setCGPath(CGPath v)
void
setFlatness(double v)
void
setLineCapStyle(CGLineCap v)
void
setLineDash(double[] pattern, double phase)
void
setLineDash(float[] pattern, double phase)
protected void
setLineDash(org.robovm.rt.bro.ptr.MachineSizedFloatPtr pattern, long count, double phase)
void
setLineJoinStyle(CGLineJoin v)
void
setLineWidth(double v)
void
setMiterLimit(double v)
void
setUsesEvenOddFillRule(boolean v)
void
stroke()
void
stroke(CGBlendMode blendMode, double alpha)
static boolean
supportsSecureCoding()
boolean
usesEvenOddFillRule()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
UIBezierPath
public UIBezierPath()
-
UIBezierPath
protected UIBezierPath(NSObject.Handle h, long handle)
-
UIBezierPath
protected UIBezierPath(NSObject.SkipInit skipInit)
-
UIBezierPath
public UIBezierPath(NSCoder aDecoder)
-
-
Method Detail
-
getCGPath
public CGPath getCGPath()
-
setCGPath
public void setCGPath(CGPath v)
-
isEmpty
public boolean isEmpty()
-
getBounds
public CGRect getBounds()
-
getCurrentPoint
public CGPoint getCurrentPoint()
-
getLineWidth
public double getLineWidth()
-
setLineWidth
public void setLineWidth(double v)
-
getLineCapStyle
public CGLineCap getLineCapStyle()
-
setLineCapStyle
public void setLineCapStyle(CGLineCap v)
-
getLineJoinStyle
public CGLineJoin getLineJoinStyle()
-
setLineJoinStyle
public void setLineJoinStyle(CGLineJoin v)
-
getMiterLimit
public double getMiterLimit()
-
setMiterLimit
public void setMiterLimit(double v)
-
getFlatness
public double getFlatness()
-
setFlatness
public void setFlatness(double v)
-
usesEvenOddFillRule
public boolean usesEvenOddFillRule()
-
setUsesEvenOddFillRule
public void setUsesEvenOddFillRule(boolean v)
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
setLineDash
public void setLineDash(double[] pattern, double phase)
-
setLineDash
public void setLineDash(float[] pattern, double phase)
-
getLineDashD
public double[] getLineDashD()
-
getLineDashF
public float[] getLineDashF()
-
getLineDashPhase
public double getLineDashPhase()
-
init
protected long init(NSCoder aDecoder)
-
move
public void move(CGPoint point)
-
addLine
public void addLine(CGPoint point)
-
addArc
public void addArc(CGPoint center, double radius, double startAngle, double endAngle, boolean clockwise)
- Since:
- Available in iOS 4.0 and later.
-
closePath
public void closePath()
-
removeAllPoints
public void removeAllPoints()
-
appendPath
public void appendPath(UIBezierPath bezierPath)
-
reverse
public UIBezierPath reverse()
- Since:
- Available in iOS 6.0 and later.
-
applyTransform
public void applyTransform(CGAffineTransform transform)
-
containsPoint
public boolean containsPoint(CGPoint point)
-
setLineDash
protected void setLineDash(org.robovm.rt.bro.ptr.MachineSizedFloatPtr pattern, long count, double phase)
-
getLineDash
protected void getLineDash(org.robovm.rt.bro.ptr.MachineSizedFloatPtr pattern, org.robovm.rt.bro.ptr.MachineSizedSIntPtr count, org.robovm.rt.bro.ptr.MachineSizedFloatPtr phase)
-
fill
public void fill()
-
stroke
public void stroke()
-
fill
public void fill(CGBlendMode blendMode, double alpha)
-
stroke
public void stroke(CGBlendMode blendMode, double alpha)
-
addClip
public void addClip()
-
newRect
public static UIBezierPath newRect(CGRect rect)
-
newOval
public static UIBezierPath newOval(CGRect rect)
-
newRoundedRect
public static UIBezierPath newRoundedRect(CGRect rect, double cornerRadius)
-
newRoundedRect
public static UIBezierPath newRoundedRect(CGRect rect, UIRectCorner corners, CGSize cornerRadii)
-
newArc
public static UIBezierPath newArc(CGPoint center, double radius, double startAngle, double endAngle, boolean clockwise)
-
newPath
public static UIBezierPath newPath(CGPath CGPath)
-
-