Shape.Matrix

Description

Name

class Tinman.Shape.Matrix

Derived from

Shape

Transforms the shape using the given 2D homogeneous matrix.

Shape coordinates of this shape are multiplied with Shape.Matrix.matrix (assuming w = 1) in order to produce shape coordinates of the resulting shape.

Fields / Required

shape

Type

Shape

Constraint

# != null

The source shape.


matrix

Type

Mat3

The 2D homogeneous matrix.