pixi.geom.Matrix
- type
- class
- metadata
- :native
- "PIXI.Matrix"
Instance Methods
- parameters
{Matrix}
matrix
- returns
- {Matrix} This matrix. Good for chaining method calls.
- parameters
pos
{Point} The origin
[newPos]
{Point} The point that the new position is assigned to (allowed to be same as input)
- returns
- {Point} The new point, transformed through this matrix
- parameters
pos
{Point} The origin
[newPos]
{Point} The point that the new position is assigned to (allowed to be same as input)
- returns
- {Point} The new point, inverse-transformed through this matrix
- parameters
array
{Array} The array that the matrix will be filled with
- returns
- {Matrix} This matrix. Good for chaining method calls.
- parameters
{Float}
angle The angle in radians.
- returns
- {Matrix} This matrix. Good for chaining method calls.
- parameters
{Float}
x The amount to scale horizontally
{Float}
y The amount to scale vertically
- returns
- {Matrix} This matrix. Good for chaining method calls.
- parameters
transpose
{Bool} Whether we need to transpose the matrix or not
- returns
- {Array} the newly created array which contains the matrix
- parameters
{Float}
x
{Float}
y
- returns
- {Matrix} This matrix. Good for chaining method calls.