Custom Closed Shape
If you want to increase the complexity of the shapes you draw on Sketch
, you
can use the CustomClosedShape
class.
This class allows you to create a shape using a list of Line
| Arc
objects.
In this example, we are creating a half circle using one Line and one Arc.
you can also use the sketch.pencil
to make it easier to draw lines and arcs.