Scalable2D
Functions
Link copied to clipboard
Returns a position in the bounding box for a parameterized uv value between (0.0
, 0.0
) and (1.0
, 1.0
) where (0.5
, 0.5
) is the center of the bounding box.
Link copied to clipboard
abstract fun scaledBy( scale: Double, uAnchor: Double = 0.5, vAnchor: Double = 0.5): Scalable1D
Content copied to clipboard
Creates a new shape with dimensions scaled by scale.
Link copied to clipboard
Creates a new shape at the same position with the given dimension, scaled uniformly.
Creates a new shape at the same position with the given dimensions.