init(configuration:frame:rotation:)
Initializes and returns a new shape markup from the specified parameters.
Declaration
init(configuration: ShapeConfiguration, frame: CGRect, rotation: CGFloat = 0.0)Parameters
- configuration:
The configuration of the shape.
- frame:
The frame of the shape.
- rotation:
The rotation in radians of the shape. Defaults to
0.0(no rotation).