Class CAShapeLayer

All Implemented Interfaces:
CAMediaTiming, NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class CAShapeLayer
extends CALayer
  • Constructor Details

    • CAShapeLayer

      public CAShapeLayer()
    • CAShapeLayer

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

      protected CAShapeLayer​(NSObject.SkipInit skipInit)
    • CAShapeLayer

      public CAShapeLayer​(CALayer layer)
  • Method Details

    • getPath

      public CGPath getPath()
    • setPath

      public void setPath​(CGPath v)
    • getFillColor

      public CGColor getFillColor()
    • setFillColor

      public void setFillColor​(CGColor v)
    • getFillRule

      public CAShapeFillRule getFillRule()
    • setFillRule

      public void setFillRule​(CAShapeFillRule v)
    • getStrokeColor

      public CGColor getStrokeColor()
    • setStrokeColor

      public void setStrokeColor​(CGColor v)
    • getStrokeStart

      public double getStrokeStart()
    • setStrokeStart

      public void setStrokeStart​(double v)
    • getStrokeEnd

      public double getStrokeEnd()
    • setStrokeEnd

      public void setStrokeEnd​(double v)
    • getLineWidth

      public double getLineWidth()
    • setLineWidth

      public void setLineWidth​(double v)
    • getMiterLimit

      public double getMiterLimit()
    • setMiterLimit

      public void setMiterLimit​(double v)
    • getLineCap

      public CALineCap getLineCap()
    • setLineCap

      public void setLineCap​(CALineCap v)
    • getLineJoin

      public CALineJoin getLineJoin()
    • setLineJoin

      public void setLineJoin​(CALineJoin v)
    • getLineDashPhase

      public double getLineDashPhase()
    • setLineDashPhase

      public void setLineDashPhase​(double v)
    • getLineDashPattern

      public NSArray<NSNumber> getLineDashPattern()
    • setLineDashPattern

      public void setLineDashPattern​(NSArray<NSNumber> v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • getDefaultValue

      public static NSObject getDefaultValue​(String key)
    • needsDisplay

      public static boolean needsDisplay​(String key)
    • cornerCurveExpansionFactor

      public static double cornerCurveExpansionFactor​(CALayerCornerCurve curve)
      Since:
      Available in iOS 13.0 and later.
    • getDefaultAction

      public static CAAction getDefaultAction​(String event)