Class CGPath

All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
CGMutablePath

public class CGPath
extends CFType
  • 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

      public void apply​(CGPath.Applier applier)
    • getClassTypeID

      public static long getClassTypeID()
    • createCopy

      public static CGPath createCopy​(CGPath path)
    • createCopyByTransformingPath

      public static CGPath createCopyByTransformingPath​(CGPath path, CGAffineTransform transform)
    • createWithRect

      public static CGPath createWithRect​(CGRect rect, CGAffineTransform transform)
    • createWithEllipseInRect

      public static CGPath createWithEllipseInRect​(CGRect rect, CGAffineTransform transform)
    • 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

      public boolean equalsTo​(CGPath path2)
    • isEmpty

      public boolean isEmpty()
    • isRect

      public boolean isRect​(CGRect rect)
    • getCurrentPoint

      public CGPoint getCurrentPoint()
    • getBoundingBox

      public CGRect getBoundingBox()
    • getPathBoundingBox

      public CGRect getPathBoundingBox()
    • containsPoint

      public boolean containsPoint​(CGAffineTransform m, CGPoint point, boolean eoFill)
    • applyWithBlock

      public void applyWithBlock​(VoidBlock1<org.robovm.apple.coregraphics.CGPathElement> block)
      Since:
      Available in iOS 11.0 and later.