times

open operator fun times(matrix: Matrix2d): Shape2d

Applies an arbitrary transformation. This is equivalent to OpenSCAD's 'multmatrix'. Identical to transform, but as this is a times operator can be used like to :

Circle(10) * myMatrix

Beware that using negative scales can change the order of the points. Which will leave the shape mal-formed.

Consider using ensurePathDirections if you are unsure. e.g.

(Circle(10) * myMatrix).ensureWellFormed()