Class UIBezierPath

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class UIBezierPath
extends NSObject
implements NSSecureCoding
  • Constructor Details

    • UIBezierPath

      public UIBezierPath()
    • UIBezierPath

      protected UIBezierPath​(NSObject.Handle h, long handle)
    • UIBezierPath

      protected UIBezierPath​(NSObject.SkipInit skipInit)
    • UIBezierPath

      public UIBezierPath​(NSCoder coder)
  • Method Details

    • 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 coder)
    • move

      public void move​(CGPoint point)
    • addLine

      public void addLine​(CGPoint point)
    • addCurve

      public void addCurve​(CGPoint endPoint, CGPoint controlPoint1, CGPoint controlPoint2)
    • addQuadCurve

      public void addQuadCurve​(CGPoint endPoint, CGPoint controlPoint)
    • addArc

      public void addArc​(CGPoint center, double radius, double startAngle, double endAngle, boolean clockwise)
    • closePath

      public void closePath()
    • removeAllPoints

      public void removeAllPoints()
    • appendPath

      public void appendPath​(UIBezierPath bezierPath)
    • reverse

      public UIBezierPath reverse()
    • applyTransform

      public void applyTransform​(CGAffineTransform transform)
    • containsPoint

      public boolean containsPoint​(CGPoint point)
    • setLineDash

      protected void setLineDash​(MachineSizedFloatPtr pattern, long count, double phase)
    • getLineDash

      protected void getLineDash​(MachineSizedFloatPtr pattern, MachineSizedSIntPtr count, 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)
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding