ShapeWithTransform
public protocol ShapeWithTransform : Shape
Enhancement to Shape
protocol that has a transform
property, meaning it can
be translated, rotated, and scaled relative to its original characteristics.
-
Declaration
Swift
var transform: ShapeTransform { get set }