Syntax

  1. shapeLayer.fillColor
  2. shapeLayer.fillRule
  3. shapeLayer.lineCap
  4. shapeLayer.lineDashPattern
  5. shapeLayer.lineDashPhase
  6. shapeLayer.lineJoin

Remarks

The CAShapeLayer class draws a cubic Bezier spline in its coordinate space. The shape is composited between the layer’s contents and its first sublayer.