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,ObjCProtocol
public class UIBezierPath extends NSObject implements NSSecureCoding
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUIBezierPath.UIBezierPathPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description UIBezierPath()UIBezierPath(NSCoder coder)protectedUIBezierPath(NSObject.Handle h, long handle)protectedUIBezierPath(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description voidaddArc(CGPoint center, double radius, double startAngle, double endAngle, boolean clockwise)voidaddClip()voidaddCurve(CGPoint endPoint, CGPoint controlPoint1, CGPoint controlPoint2)voidaddLine(CGPoint point)voidaddQuadCurve(CGPoint endPoint, CGPoint controlPoint)voidappendPath(UIBezierPath bezierPath)voidapplyTransform(CGAffineTransform transform)voidclosePath()booleancontainsPoint(CGPoint point)voidencode(NSCoder coder)voidfill()voidfill(CGBlendMode blendMode, double alpha)CGRectgetBounds()CGPathgetCGPath()CGPointgetCurrentPoint()doublegetFlatness()CGLineCapgetLineCapStyle()protected voidgetLineDash(MachineSizedFloatPtr pattern, MachineSizedSIntPtr count, MachineSizedFloatPtr phase)double[]getLineDashD()float[]getLineDashF()doublegetLineDashPhase()CGLineJoingetLineJoinStyle()doublegetLineWidth()doublegetMiterLimit()protected longinit(NSCoder coder)booleanisEmpty()voidmove(CGPoint point)static UIBezierPathnewArc(CGPoint center, double radius, double startAngle, double endAngle, boolean clockwise)static UIBezierPathnewOval(CGRect rect)static UIBezierPathnewPath(CGPath CGPath)static UIBezierPathnewRect(CGRect rect)static UIBezierPathnewRoundedRect(CGRect rect, double cornerRadius)static UIBezierPathnewRoundedRect(CGRect rect, UIRectCorner corners, CGSize cornerRadii)voidremoveAllPoints()UIBezierPathreverse()voidsetCGPath(CGPath v)voidsetFlatness(double v)voidsetLineCapStyle(CGLineCap v)voidsetLineDash(double[] pattern, double phase)voidsetLineDash(float[] pattern, double phase)protected voidsetLineDash(MachineSizedFloatPtr pattern, long count, double phase)voidsetLineJoinStyle(CGLineJoin v)voidsetLineWidth(double v)voidsetMiterLimit(double v)voidsetUsesEvenOddFillRule(boolean v)voidstroke()voidstroke(CGBlendMode blendMode, double alpha)static booleansupportsSecureCoding()booleanusesEvenOddFillRule()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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
UIBezierPath
public UIBezierPath() -
UIBezierPath
-
UIBezierPath
-
UIBezierPath
-
-
Method Details
-
getCGPath
-
setCGPath
-
isEmpty
public boolean isEmpty() -
getBounds
-
getCurrentPoint
-
getLineWidth
public double getLineWidth() -
setLineWidth
public void setLineWidth(double v) -
getLineCapStyle
-
setLineCapStyle
-
getLineJoinStyle
-
setLineJoinStyle
-
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
-
move
-
addLine
-
addCurve
-
addQuadCurve
-
addArc
public void addArc(CGPoint center, double radius, double startAngle, double endAngle, boolean clockwise) -
closePath
public void closePath() -
removeAllPoints
public void removeAllPoints() -
appendPath
-
reverse
-
applyTransform
-
containsPoint
-
setLineDash
-
getLineDash
protected void getLineDash(MachineSizedFloatPtr pattern, MachineSizedSIntPtr count, MachineSizedFloatPtr phase) -
fill
public void fill() -
stroke
public void stroke() -
fill
-
stroke
-
addClip
public void addClip() -
newRect
-
newOval
-
newRoundedRect
-
newRoundedRect
-
newArc
public static UIBezierPath newArc(CGPoint center, double radius, double startAngle, double endAngle, boolean clockwise) -
newPath
-
encode
-