scale

abstract fun scale(x: Double = 1.0, y: Double = 1.0, z: Double = 1.0): AffineTransform

Append a scale operation (around the Origin) to this transform.

Return

a new transform

Parameters

x

amount to scale in the x-direction

y

amount to scale in the y-direction

z

amount to scale in the z-direction


fun scale(around: Point, x: Double = 1.0, y: Double = 1.0, z: Double = 1.0): AffineTransform

Append a scale operation to this transform, that scales around the given point.

Return

a new transform

Parameters

around

this point

x

amount to scale in the x-direction

y

amount to scale in the y-direction

z

amount to scale in the z-direction


fun scale(around: Vector3D, x: Double = 1.0, y: Double = 1.0, z: Double = 1.0): AffineTransform