TransformScope

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val children: MutableList<CanvasTransformChildModel>

Functions

Link copied to clipboard
inline fun inverse()

Inverts the transform being built in the current scope.

Link copied to clipboard
inline fun rotate(degrees: Float = 0.0f, pivot: Point = Point(0f, 0f))

Postconcats the current transform with the specified rotation.

Link copied to clipboard
inline fun scale(sx: Float = 1.0f, sy: Float = 1.0f, pivot: Point = Point(0f, 0f))

Postconcats the current transform with the specified scale.

Link copied to clipboard
inline fun skew(kx: Float = 0.0f, ky: Float = 0.0f, pivot: Point = Point(0f, 0f))

Postconcats the current transform with the specified skewing.

Link copied to clipboard
inline fun translate(dx: Float = 0.0f, dy: Float = 0.0f)

Postconcats the current transform with the specified translation.