Shape.transform

Shape.transform(transformation)[source]

Transform the shape.

Transformations of a shape are performed by applying the transformation to the frame of the shape. Transformations of the shape with respect to its local coordinate system are not supported. For this reason, only (combinations of) translations and rotations are supported. To scale a shape, use the Shape.scale() method.

Parameters:
transformationTransformation

The transformation used to transform the shape.

Returns:
None