Stats

153 Contributors: 5 Wednesday, February 8, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

CAShapeLayer

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.

Related Examples