Transform.scale

Combine the current transform with a scaling.

This function returns a reference to this, so that calls can be chained.

  1. void scale(float scaleX, float scaleY)
    struct Transform
    void
    scale
    (
    float scaleX
    ,
    float scaleY
    )
  2. void scale(float scaleX, float scaleY, float centerX, float centerY)

Parameters

scaleX
Type: float

Scaling factor on the X-axis.

scaleY
Type: float

Scaling factor on the Y-axis.

Return Value

Type: void

this

Meta