Scaleform Studio Lua API Reference: Matrix2F object reference
         
	
    
    
A two-dimensional matrix in row-major order.
				|   | 
Appends the matrix by multiplying the specified matrix by the current matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| m : | Matrix2F | Matrix which is multiplied by the current matrix. | 
Returns 
							  
				|   | 
Performs the Append transform operation relative to a specified origin/pivot point.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| m : | Matrix2F | The matrix to which append operation is performed. | 
| pt : | scaleform.Point? | The pivot point. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
Returns 
							  
				|   | 
Appends a rotation to the matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| rot : | number | The rotation angle in radians. | 
Returns 
							  
				|   | 
Appends a scale change to the matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| scale : | number | The scaling factor applied. | 
Returns 
							  
				|   | 
Appends a scale change to the matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| scale_x : | number | The x scaling factor applied. | 
| scale_y : | number | The y scaling factor applied. | 
Returns 
							  
				|   | 
Appends a scale change to the matrix.
 | 
 
				|   | 
Appends a shearing to the matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| shearx : | number | Amount to shear the x coordinate. | 
| sheary : | number | Amount to shear the y coordinate. | 
Returns 
							  
				|   | 
Appends a translation to the matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| tx : | number | Translation value along the x axis. | 
| ty : | number | Translation value along the y axis. | 
Returns 
							  
				|   | 
Returns true if the matrix reverses handedness.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | boolean | Returns true if the matrix reverses handedness and false otherwise. | 
							  
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| r : | table | The rectangle to be transformed. | 
Returns | table | The transformed rectangle. | 
							  
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| r : | table | The inverse rectangle. | 
Returns | table | The transformed rectangle. | 
							  
				|   | 
Returns the matrix as an array of floats.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | table | An array of floats. | 
							  
				|   | 
Obtains the determinant of the 2x2 rotation/scale part only.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | number | The determinant value. | 
							  
				|   | 
Returns the inverse of the original matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | Matrix2F | The inverse of the original matrix. | 
							  
				|   | 
Returns the maximum scale factor that this transform applies.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns 
							  
				|   | 
Returns the rotation component (in radians).
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | number | The rotation value. | 
							  
				|   | 
Returns the isotropic scale, proportional to the diagonal (0,0) - (1,1).
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns 
							  
				|   | 
Returns the magnitude scale of the x coordinate output.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns 
							  
				|   | 
Returns the magnitude scale of the y coordinate output.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns 
							  
				|   | 
Creates a new identity matrix.
 | 
 
							
							Parameters |  | This function does not accept any parameters. | 
Returns 
							  
				|   | 
Inverts the matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns 
							  
				|   | 
Checks whether the matrix has arbitrary rotation.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| epsilon : | number | Value by which the matrix is rotated. | 
Returns | boolean | Returns true if the matrix has arbitrary rotation and false otherwise. | 
							  
				|   | 
Checks whether the matrix is an identity matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | boolean | Returns true if identity matrix and false otherwise. | 
							  
				|   | 
Determines whether the matrix is valid or not.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | boolean | Returns true if the matrix is valid and false otherwise. | 
							  
				|   | New (  ) : Matrix2F  
Creates a new matrix.
 | 
 
							
							Parameters |  | This function does not accept any parameters. | 
Returns 
							  
				|   | 
Prepend a matrix by multiplying the current matrix by the passed matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| m : | Matrix2F | The matrix to be multiplied. | 
Returns 
							  
				|   | 
Prepends a rotation to the matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| rot : | number | The rotation angle in radians. | 
Returns 
							  
				|   | 
Prepends a scale change to the matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| scale : | number | The scaling factor applied. | 
Returns 
							  
				|   | 
Prepends a shearing to the matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| shearx : | number | Amount to shear the x coordinate. | 
| sheary : | number | Amount to shear the y coordinate. | 
Returns 
							  
				|   | 
Prepends a translation to the matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| tx : | number | Translation value along the x axis. | 
| ty : | number | Translation value along the y axis. | 
Returns 
							  
				|   | 
Resets the matrix back to the identity matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Creates a rotation matrix.
 | 
 
							
							Parameters | radians : | number | The rotation angle in radians. | 
Returns 
							  
				|   | 
Creates a scale matrix.
 | 
 
							
							Parameters | scale : | number | The scale factor applied. | 
Returns 
							  
				|   | 
Sets the matrix to the identity matrix.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the matrix to the inverse of the passed matrix.
 | 
 
							
							Parameters Returns |  | This function does not return any values. | 
							  
				|   | 
Creates a new matrix from a blend of the passed two matrices m1 and m2, parameterized by t.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| m1 : | Matrix2F | The matrix 1. | 
| m2 : | Matrix2F | The matrix 2. | 
| t : | number | Amount to interpolate between the values of the two matrices. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Creates a new matrix from the passed values.
 | 
 
							
							Parameters Returns |  | This function does not return any values. | 
							  
				|   | 
Transforms a parallelogram to a new parallelogram.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| parlSrc : | table | An array of three points of the original parallelogram. | 
| parlDst : | table | An array of three points of the transformed parallelogram. | 
Returns 
							  
				|   | 
Transforms a parallelogram to a rectangle.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| parl : | table | An array representing the coordinates of the parallelogram. | 
| x1 : | number | The x coordinate value of the bottom left corner of the rectangle. | 
| y1 : | number | The y coordinate value of a bottom left corner of the rectangle. | 
| x2 : | number | The x coordinate value of top right corner point of the rectangle. | 
| y2 : | number | The y coordinate value of top right corner point of the rectangle. | 
Returns | table | The transformed rectangle. | 
							  
				|   | 
Transforms a rectangle to a parallelogram.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| x1 : | number | The x coordinate value of the bottom left corner of the rectangle. | 
| y1 : | number | The y coordinate value of a bottom left corner of the rectangle. | 
| x2 : | number | The x coordinate value of top right corner point of the rectangle. | 
| y2 : | number | The y coordinate value of top right corner point of the rectangle. | 
| parl : | table | An array representing the coordinates of the parallelogram. | 
Returns 
							  
				|   | SetRectToRect ( self , srcX1 , srcY1 , srcX2 , srcY2 , destX1 , destY1 , destX2 , destY2  ) : table  
Transforms a rectangle to a new rectangle.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| srcX1 : | number | The x coordinate value of the bottom left corner of the rectangle. | 
| srcY1 : | number | The y coordinate value of a bottom left corner of the rectangle. | 
| srcX2 : | number | The x coordinate value of top right corner point of the rectangle. | 
| srcY2 : | number | The y coordinate value of top right corner point of the rectangle. | 
| destX1 : | number | The x coordinate value of the bottom left corner of the new rectangle. | 
| destY1 : | number | The y coordinate value of the bottom left corner of the new rectangle. | 
| destX2 : | number | The x coordinate value of the top right corner of the new rectangle | 
| destY2 : | number | The y coordinate value of the top right corner of the new rectangle. | 
Returns | table | The transformed rectangle. | 
							  
				|   | 
Initializes the current matrix to the result of appended matrices.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| m0 : | Matrix2F | The matrix to be multiplied. | 
| m1 : | Matrix2F | The second matrix to be appended. | 
| m2 : | Matrix2F | The optional third matrix to be appended. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the scale factor to be applied along the x axis.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| x : | number | The scale factor to be applied. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Sets the scale factor to be applied along the y axis.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
| y : | number | The scale factor to be applied. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Set the matrix to all zero components.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns |  | This function does not return any values. | 
							  
				|   | 
Creates a shear matrix.
 | 
 
							
							Parameters | sh : | number | The shear factor along the x coordinate. | 
| sv : | number | The shear factor along the y coordinate. | 
Returns 
							  
				|   | Shx ( self  ) : number  
Access matrix element which represents shearing in X.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | number | The matrix element. | 
							  
				|   | Shy ( self  ) : number  
Access matrix element which represents shearing in Y.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | number | The matrix element. | 
							  
				|   | 
Swaps the values of two matrices.
 | 
 
							
							Parameters | mtx : | Matrix2F | The 2D matrix currently in use. | 
| mtx2 : | Matrix2F | A matrix to swap with the original matrix. | 
Returns |  | This function does not return any values. | 
							  
				|   | Sx ( self  ) : number  
Access matrix element which represents scaling in X.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | number | The matrix element. | 
							  
				|   | Sy ( self  ) : number  
Access matrix element which represents scaling in Y.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | number | The matrix element. | 
							  
				|   | 
Creates a translation matrix.
 | 
 
							
							Parameters |  | This function does not accept any parameters. | 
Returns 
							  
				|   | Tx ( self  ) : number  
Access matrix element which represents translation in X.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | number | The matrix element. | 
							  
				|   | Ty ( self  ) : number  
Access matrix element which represents translation in Y.
 | 
 
							
							Parameters | self : | Matrix2F | The 2D matrix currently in use. | 
Returns | number | The matrix element. | 
							   
 
     Matrix2F.Append (self, m) : Matrix2F
  Matrix2F.Append (self, m) : Matrix2F
Appends the matrix by multiplying the specified matrix by the current matrix.
 Matrix2F.AppendRelative (self, m, pt) : Matrix2F
  Matrix2F.AppendRelative (self, m, pt) : Matrix2F
Performs the Append transform operation relative to a specified origin/pivot point.
 Matrix2F.AppendRotation (self, rot) : Matrix2F
  Matrix2F.AppendRotation (self, rot) : Matrix2F
Appends a rotation to the matrix.
 Matrix2F.AppendScaling (self, scale_x, scale_y) : Matrix2F
  Matrix2F.AppendScaling (self, scale_x, scale_y) : Matrix2F
Appends a scale change to the matrix.
 Matrix2F.AppendScaling (self, scale) : Matrix2F
  Matrix2F.AppendScaling (self, scale) : Matrix2F
Appends a scale change to the matrix.
 Matrix2F.AppendScaling (self, scale) : Matrix2F
  Matrix2F.AppendScaling (self, scale) : Matrix2F
Appends a scale change to the matrix.
 Matrix2F.AppendShearing (self, shearx, sheary) : Matrix2F
  Matrix2F.AppendShearing (self, shearx, sheary) : Matrix2F
Appends a shearing to the matrix.
 Matrix2F.AppendTranslation (self, tx, ty) : Matrix2F
  Matrix2F.AppendTranslation (self, tx, ty) : Matrix2F
Appends a translation to the matrix.
 Matrix2F.GetInverse (self) : Matrix2F
  Matrix2F.GetInverse (self) : Matrix2F
Returns the inverse of the original matrix.
 Matrix2F.Identity () : Matrix2F
  Matrix2F.Identity () : Matrix2F
Creates a new identity matrix.
 Matrix2F.Invert (self) : Matrix2F
  Matrix2F.Invert (self) : Matrix2F
Inverts the matrix.
 Matrix2F.New () : Matrix2F
  Matrix2F.New () : Matrix2F
Creates a new matrix.
 Matrix2F.Prepend (self, m) : Matrix2F
  Matrix2F.Prepend (self, m) : Matrix2F
Prepend a matrix by multiplying the current matrix by the passed matrix.
 Matrix2F.PrependRotation (self, rot) : Matrix2F
  Matrix2F.PrependRotation (self, rot) : Matrix2F
Prepends a rotation to the matrix.
 Matrix2F.PrependScaling (self, scale) : Matrix2F
  Matrix2F.PrependScaling (self, scale) : Matrix2F
Prepends a scale change to the matrix.
 Matrix2F.PrependShearing (self, shearx, sheary) : Matrix2F
  Matrix2F.PrependShearing (self, shearx, sheary) : Matrix2F
Prepends a shearing to the matrix.
 Matrix2F.PrependTranslation (self, tx, ty) : Matrix2F
  Matrix2F.PrependTranslation (self, tx, ty) : Matrix2F
Prepends a translation to the matrix.
 Matrix2F.Rotation (radians) : Matrix2F
  Matrix2F.Rotation (radians) : Matrix2F
Creates a rotation matrix.
 Matrix2F.Scaling (scale) : Matrix2F
  Matrix2F.Scaling (scale) : Matrix2F
Creates a scale matrix.
 Matrix2F.SetParlToParl (self, parlSrc, parlDst) : Matrix2F
  Matrix2F.SetParlToParl (self, parlSrc, parlDst) : Matrix2F
Transforms a parallelogram to a new parallelogram.
 Matrix2F.SetRectToParl (self, x1, y1, x2, y2, parl) : Matrix2F
  Matrix2F.SetRectToParl (self, x1, y1, x2, y2, parl) : Matrix2F
Transforms a rectangle to a parallelogram.
 Matrix2F.Shearing (sh, sv) : Matrix2F
  Matrix2F.Shearing (sh, sv) : Matrix2F
Creates a shear matrix.
 Matrix2F.Translation () : Matrix2F
  Matrix2F.Translation () : Matrix2F
Creates a translation matrix.
 scaleform.Actor.local_matrix (self) : Matrix2F
  scaleform.Actor.local_matrix (self) : Matrix2F
Returns the 2D transform matrix on the actor.
 scaleform.Actor.world_matrix (self) : Matrix2F
  scaleform.Actor.world_matrix (self) : Matrix2F
Returns the concatenated matrix (all ancestor transforms, times the matrix). 
 scaleform.Actor.world_matrix_3d (self) : Matrix2F
  scaleform.Actor.world_matrix_3d (self) : Matrix2F
Returns the concatenated world matrix (complete 2D + 3D world matrix). 
 scaleform.ShapeComponent.create_gradient_matrix (w, h, rot, tx, ty) : Matrix2F
  scaleform.ShapeComponent.create_gradient_matrix (w, h, rot, tx, ty) : Matrix2F
 scaleform.Stage.transform_to_screen_matrix () : Matrix2F
  scaleform.Stage.transform_to_screen_matrix () : Matrix2F
Returns the transform to convert from stage coordinates to screen (window) coordinates. 
 Matrix3F.Invert (self) : Matrix3F
  Matrix3F.Invert (self) : Matrix3F
Inverts the matrix.
 scaleform.Actor.bounds (self, matrix) : scaleform.Rect?
  scaleform.Actor.bounds (self, matrix) : scaleform.Rect?
Returns the character bounds in specified coordinate space.
 scaleform.Actor.concatenate_matrix (self, matrix)
  scaleform.Actor.concatenate_matrix (self, matrix) 
Concatenates the passed matrix to the actor.
 scaleform.Actor.rect_bounds (self, matrix) : scaleform.Rect?
  scaleform.Actor.rect_bounds (self, matrix) : scaleform.Rect?
Returns character bounds excluding stroke.
 scaleform.Actor.set_local_matrix (self, matrix)
  scaleform.Actor.set_local_matrix (self, matrix) 
Sets a 2D transform matrix on the actor.
 scaleform.Actor.visible_bounds (self, matrix) : scaleform.Rect?
  scaleform.Actor.visible_bounds (self, matrix) : scaleform.Rect?
Returns the visible bounds. 
 scaleform.ShapeComponent.set_bitmap_fill (self, imageRes, matrix, repeat, smooth) : boolean
  scaleform.ShapeComponent.set_bitmap_fill (self, imageRes, matrix, repeat, smooth) : boolean
Fills a drawing area with a bitmap image.
 scaleform.ShapeComponent.set_gradient_fill (self, gradType, matrix, colors, ratios, focalPointRatio, linearRGB)
  scaleform.ShapeComponent.set_gradient_fill (self, gradType, matrix, colors, ratios, focalPointRatio, linearRGB) 
Sets a gradient fill.
 scaleform.ShapeComponent.set_line_gradient_style (self, gradType, matrix, colors, ratios, focalPointRatio, linearRGB) : boolean
  scaleform.ShapeComponent.set_line_gradient_style (self, gradType, matrix, colors, ratios, focalPointRatio, linearRGB) : boolean
Sets a gradient line style.
 scaleform.Stage.set_user_matrix (mat)
  scaleform.Stage.set_user_matrix (mat) 
Sets the "user" matrix that is applied to shift the view just before the viewport.
 scaleform.Stage.translate_point_to_screen (p, userMatrix) : scaleform.Point
  scaleform.Stage.translate_point_to_screen (p, userMatrix) : scaleform.Point
Translates a point in Stage coordinates to screen (window) coordinates.
 scaleform.Stage.translate_rect_to_screen (rect, userMatrix) : scaleform.Rect
  scaleform.Stage.translate_rect_to_screen (rect, userMatrix) : scaleform.Rect
Translates a rectangle in Stage coordinates to screen (window) coordinates.
 scaleform.VisualComponent.bounds (self, matrix) : scaleform.Rect
  scaleform.VisualComponent.bounds (self, matrix) : scaleform.Rect
Returns the component bounds multiplied by the provided matrix.
 scaleform.VisualComponent.rect_bounds (self, matrix) : scaleform.Rect
  scaleform.VisualComponent.rect_bounds (self, matrix) : scaleform.Rect
Returns the component bounds excluding any stroke multiplied by the provided matrix.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. m : Matrix2F
  m : Matrix2F
Matrix which is multiplied by the current matrix. Matrix2F
  Matrix2F
The transformed matrix. Matrix2F
  Matrix2F
A two-dimensional matrix in row-major order.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. m : Matrix2F
  m : Matrix2F
The matrix to which append operation is performed. pt : scaleform.Point?
  pt : scaleform.Point?
The pivot point.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 Matrix2F
  Matrix2F
The transformed matrix. scaleform.Point
  scaleform.Point
Point should be in the form of a table {x=a, y=b}
{ PropertyType : string,  x : number,  y : number,  } self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. rot : number
  rot : number
The rotation angle in radians. Matrix2F
  Matrix2F
The rotated matrix.A numeric value. self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. scale : number
  scale : number
The scaling factor applied. Matrix2F
  Matrix2F
The modified matrix. self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. scale_x : number
  scale_x : number
The x scaling factor applied. scale_y : number
  scale_y : number
The y scaling factor applied. Matrix2F
  Matrix2F
The modified matrix. self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. scale : scaleform.Size
  scale : scaleform.Size
The scaling factor applied. Matrix2F
  Matrix2F
The modified matrix. scaleform.Size
  scaleform.Size
Width should be in the form of a table {width=a, height=b}
{ height : number,  width : number,  } self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. shearx : number
  shearx : number
Amount to shear the x coordinate. sheary : number
  sheary : number
Amount to shear the y coordinate. Matrix2F
  Matrix2F
The sheared matrix. self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. tx : number
  tx : number
Translation value along the x axis. ty : number
  ty : number
Translation value along the y axis. Matrix2F
  Matrix2F
The translated matrix. Matrix2F.DoesFlip (self) : boolean
  Matrix2F.DoesFlip (self) : boolean
Returns true if the matrix reverses handedness.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. booleantrue or false.
  booleantrue or false. Matrix2F.EncloseTransform (self, r) : table
  Matrix2F.EncloseTransform (self, r) : table
Transforms a rectangle and returns its bounding area.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. r : table
  r : table
The rectangle to be transformed. table
  table
The transformed rectangle.A Lua table consisting of paired keys and values. Matrix2F.EncloseTransformByInverse (self, r) : table
  Matrix2F.EncloseTransformByInverse (self, r) : table
Transforms a rectangle by its inverse and returns its bounding area.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. r : table
  r : table
The inverse rectangle. table
  table
The transformed rectangle. Matrix2F.GetAsFloat2x4 (self) : table
  Matrix2F.GetAsFloat2x4 (self) : table
Returns the matrix as an array of floats.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. table
  table
An array of floats. Matrix2F.GetDeterminant (self) : number
  Matrix2F.GetDeterminant (self) : number
Obtains the determinant of the 2x2 rotation/scale part only.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. number
  number self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. Matrix2F
  Matrix2F
The inverse of the original matrix. Matrix2F.GetMaxScale (self) : number
  Matrix2F.GetMaxScale (self) : number
Returns the maximum scale factor that this transform applies.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. number
  number Matrix2F.GetRotation (self) : number
  Matrix2F.GetRotation (self) : number
Returns the rotation component (in radians).
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. number
  number Matrix2F.GetScale (self) : number
  Matrix2F.GetScale (self) : number
Returns the isotropic scale, proportional to the diagonal (0,0) - (1,1).
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. number
  number Matrix2F.GetXScale (self) : number
  Matrix2F.GetXScale (self) : number
Returns the magnitude scale of the x coordinate output.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. number
  number Matrix2F.GetYScale (self) : number
  Matrix2F.GetYScale (self) : number
Returns the magnitude scale of the y coordinate output.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. number
  number Matrix2F
  Matrix2F
The newly created matrix. self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. Matrix2F
  Matrix2F
The inverted matrix. Matrix2F.IsFreeRotation (self, epsilon) : boolean
  Matrix2F.IsFreeRotation (self, epsilon) : boolean
Checks whether the matrix has arbitrary rotation.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. epsilon : number
  epsilon : number
Value by which the matrix is rotated. boolean
  boolean Matrix2F.IsIdentity (self) : boolean
  Matrix2F.IsIdentity (self) : boolean
Checks whether the matrix is an identity matrix.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. boolean
  boolean Matrix2F.IsValid (self) : boolean
  Matrix2F.IsValid (self) : boolean
Determines whether the matrix is valid or not.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. boolean
  boolean Matrix2F
  Matrix2F
The newly created matrix. self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. m : Matrix2F
  m : Matrix2F
The matrix to be multiplied. Matrix2F
  Matrix2F
The transformed matrix. self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. rot : number
  rot : number
The rotation angle in radians. Matrix2F
  Matrix2F
The rotated matrix. self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. scale : number
  scale : number
The scaling factor applied. Matrix2F
  Matrix2F
The modified matrix. self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. shearx : number
  shearx : number
Amount to shear the x coordinate. sheary : number
  sheary : number
Amount to shear the y coordinate. Matrix2F
  Matrix2F
The sheared matrix. self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. tx : number
  tx : number
Translation value along the x axis. ty : number
  ty : number
Translation value along the y axis. Matrix2F
  Matrix2F
The translated matrix. Matrix2F.Reset (self)
  Matrix2F.Reset (self) 
Resets the matrix back to the identity matrix.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. radians : number
  radians : number
The rotation angle in radians. Matrix2F
  Matrix2F
The newly created matrix. scale : number
  scale : number
The scale factor applied. Matrix2F
  Matrix2F
The newly created matrix. Matrix2F.SetIdentity (self)
  Matrix2F.SetIdentity (self) 
Sets the matrix to the identity matrix.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. Matrix2F.SetInverse (self, m)
  Matrix2F.SetInverse (self, m) 
Sets the matrix to the inverse of the passed matrix.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. m : Matrix2F
  m : Matrix2F
Matrix to inverse. Matrix2F.SetLerp (self, m1, m2, t)
  Matrix2F.SetLerp (self, m1, m2, t) 
Creates a new matrix from a blend of the passed two matrices m1 and m2, parameterized by t.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. m1 : Matrix2F
  m1 : Matrix2F
The matrix 1. m2 : Matrix2F
  m2 : Matrix2F
The matrix 2. t : number
  t : number
Amount to interpolate between the values of the two matrices. Matrix2F.SetMatrix (self, mtx)
  Matrix2F.SetMatrix (self, mtx) 
Creates a new matrix from the passed values.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. mtx : Matrix2F
  mtx : Matrix2F
The passed matrix. self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. parlSrc : table
  parlSrc : table
An array of three points of the original parallelogram. parlDst : table
  parlDst : table
An array of three points of the transformed parallelogram. Matrix2F
  Matrix2F
The transformed parallelogram. Matrix2F.SetParlToRect (self, parl, x1, y1, x2, y2) : table
  Matrix2F.SetParlToRect (self, parl, x1, y1, x2, y2) : table
Transforms a parallelogram to a rectangle.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. parl : table
  parl : table
An array representing the coordinates of the parallelogram. x1 : number
  x1 : number
The x coordinate value of the bottom left corner of the rectangle. y1 : number
  y1 : number
The y coordinate value of a bottom left corner of the rectangle. x2 : number
  x2 : number
The x coordinate value of top right corner point of the rectangle. y2 : number
  y2 : number
The y coordinate value of top right corner point of the rectangle. table
  table
The transformed rectangle. self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. x1 : number
  x1 : number
The x coordinate value of the bottom left corner of the rectangle. y1 : number
  y1 : number
The y coordinate value of a bottom left corner of the rectangle. x2 : number
  x2 : number
The x coordinate value of top right corner point of the rectangle. y2 : number
  y2 : number
The y coordinate value of top right corner point of the rectangle. parl : table
  parl : table
An array representing the coordinates of the parallelogram. Matrix2F
  Matrix2F
The transformed parallelogram. Matrix2F.SetRectToRect (self, srcX1, srcY1, srcX2, srcY2, destX1, destY1, destX2, destY2) : table
  Matrix2F.SetRectToRect (self, srcX1, srcY1, srcX2, srcY2, destX1, destY1, destX2, destY2) : table
Transforms a rectangle to a new rectangle.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. srcX1 : number
  srcX1 : number
The x coordinate value of the bottom left corner of the rectangle. srcY1 : number
  srcY1 : number
The y coordinate value of a bottom left corner of the rectangle. srcX2 : number
  srcX2 : number
The x coordinate value of top right corner point of the rectangle. srcY2 : number
  srcY2 : number
The y coordinate value of top right corner point of the rectangle. destX1 : number
  destX1 : number
The x coordinate value of the bottom left corner of the new rectangle. destY1 : number
  destY1 : number
The y coordinate value of the bottom left corner of the new rectangle. destX2 : number
  destX2 : number
The x coordinate value of the top right corner of the new rectangle destY2 : number
  destY2 : number
The y coordinate value of the top right corner of the new rectangle. table
  table
The transformed rectangle. Matrix2F.SetToAppend (self, m0, m1, m2)
  Matrix2F.SetToAppend (self, m0, m1, m2) 
Initializes the current matrix to the result of appended matrices.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. m0 : Matrix2F
  m0 : Matrix2F
The matrix to be multiplied. m1 : Matrix2F
  m1 : Matrix2F
The second matrix to be appended. m2 : Matrix2F
  m2 : Matrix2F
The optional third matrix to be appended. Matrix2F.SetXScale (self, x)
  Matrix2F.SetXScale (self, x) 
Sets the scale factor to be applied along the x axis.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. x : number
  x : number
The scale factor to be applied. Matrix2F.SetYScale (self, y)
  Matrix2F.SetYScale (self, y) 
Sets the scale factor to be applied along the y axis.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. y : number
  y : number
The scale factor to be applied. Matrix2F.SetZero (self)
  Matrix2F.SetZero (self) 
Set the matrix to all zero components.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. sh : number
  sh : number
The shear factor along the x coordinate. sv : number
  sv : number
The shear factor along the y coordinate. Matrix2F
  Matrix2F
The newly created matrix. Matrix2F.Shx (self) : number
  Matrix2F.Shx (self) : number
Access matrix element which represents shearing in X.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. number
  number Matrix2F.Shy (self) : number
  Matrix2F.Shy (self) : number
Access matrix element which represents shearing in Y.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. number
  number Matrix2F.Swap (mtx, mtx2)
  Matrix2F.Swap (mtx, mtx2) 
Swaps the values of two matrices.
 mtx : Matrix2F
  mtx : Matrix2F
The 2D matrix currently in use. mtx2 : Matrix2F
  mtx2 : Matrix2F
A matrix to swap with the original matrix. Matrix2F.Sx (self) : number
  Matrix2F.Sx (self) : number
Access matrix element which represents scaling in X.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. number
  number Matrix2F.Sy (self) : number
  Matrix2F.Sy (self) : number
Access matrix element which represents scaling in Y.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. number
  number Matrix2F.Transform (self, pt) : scaleform.Point
  Matrix2F.Transform (self, pt) : scaleform.Point
Transforms the point by the matrix.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. pt : scaleform.Point
  pt : scaleform.Point
The point which is to be transformed. scaleform.Point
  scaleform.Point
A point containing the result of the transformation. Matrix2F.TransformByInverse (self, pt) : scaleform.Point
  Matrix2F.TransformByInverse (self, pt) : scaleform.Point
Transforms the point by the inverse of the matrix.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. pt : scaleform.Point
  pt : scaleform.Point
The point to be transformed. scaleform.Point
  scaleform.Point
A point containing the result of the transformation. Matrix2F.TransformVector (self, pt) : scaleform.Point
  Matrix2F.TransformVector (self, pt) : scaleform.Point
Transforms the vector by the matrix.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. pt : scaleform.Point
  pt : scaleform.Point
Vector to transform. scaleform.Point
  scaleform.Point
A point containing the result of the transformation. Matrix2F.TransformVectorByInverse (self, pt) : scaleform.Point
  Matrix2F.TransformVectorByInverse (self, pt) : scaleform.Point
Transforms the vector by the inverse of the matrix.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. pt : scaleform.Point
  pt : scaleform.Point
Vector to transform. scaleform.Point
  scaleform.Point
A point containing the result of the transformation. Matrix2F
  Matrix2F
The newly created matrix. Matrix2F.Tx (self) : number
  Matrix2F.Tx (self) : number
Access matrix element which represents translation in X.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. number
  number Matrix2F.Ty (self) : number
  Matrix2F.Ty (self) : number
Access matrix element which represents translation in Y.
 self : Matrix2F
  self : Matrix2F
The 2D matrix currently in use. number
  number self : scaleform.Actor
  self : scaleform.Actor
The actor whose transform matrix is retrieved. Matrix2F
  Matrix2F
The 2D transform matrix. self : scaleform.Actor
  self : scaleform.Actor
The actor whose world matrix is retrieved. Matrix2F
  Matrix2F
The concatenated world matrix. self : scaleform.Actor
  self : scaleform.Actor
The actor whose world matrix is retrieved. Matrix2F
  Matrix2F
The concatenated world matrix. w : number
  w : number
The width of the gradient. h : number
  h : number
The height of the gradient. rot : number
  rot : number
The rotation of gradient in radians. tx : number
  tx : number
The translation of the gradient along the x axis. ty : number
  ty : number
The translation of the gradient along the y axis. Matrix2F
  Matrix2F
A matrix which can be used when setting the gradient styles on Shapes. Matrix2F
  Matrix2F
The transform matrix self : Matrix2F
  self : Matrix2F
The 3D matrix currently in use. Matrix3F
  Matrix3F
The inverted matrix. self : scaleform.Actor
  self : scaleform.Actor
The actor whose bounds is retrieved. matrix : Matrix2F
  matrix : Matrix2F
The transformation matrix used for calculating the bounding rectangle. scaleform.Rect?
  scaleform.Rect?
A rectangle representing character bounds in the coordinate space.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 self : scaleform.Actor
  self : scaleform.Actor
The actor to which a matrix is concatenated. matrix : Matrix2F
  matrix : Matrix2F
The matrix to concatenate. self : scaleform.Actor
  self : scaleform.Actor
The actor whose bounds is retrieved. matrix : Matrix2F
  matrix : Matrix2F
The transformation matrix used for calculating the bounding rectangle. scaleform.Rect?
  scaleform.Rect?
A rectangle representing character bounds in the coordinate space.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 self : scaleform.Actor
  self : scaleform.Actor
The actor whose transform matrix is set. matrix : Matrix2F
  matrix : Matrix2F
The 2D transform matrix to be set. self : scaleform.Actor
  self : scaleform.Actor
The actor whose bounds is retrieved. matrix : Matrix2F
  matrix : Matrix2F
The transformation matrix used for calculating the bounding rectangle. scaleform.Rect?
  scaleform.Rect?
The The visible bounds.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 self : scaleform.ShapeComponent
  self : scaleform.ShapeComponent
The shape component to load. imageRes : lightuserdata
  imageRes : lightuserdata
The image to be filled with. matrix : Matrix2F
  matrix : Matrix2F
A transformation matrix that can be used to scale or otherwise manipulate                     the bitmap before applying it to the line style. repeat : boolean?
  repeat : boolean?
Default value of true.  [more...]The ? notation indicates that this type is optional: there may be zero or one instances of it.
 smooth : boolean?
  smooth : boolean?
Default value of true.  [more...]The ? notation indicates that this type is optional: there may be zero or one instances of it.
 boolean
  boolean self : scaleform.ShapeComponent
  self : scaleform.ShapeComponent
The shape component to fill. gradType : string
  gradType : string
The gradient type to fill in. matrix : Matrix2F
  matrix : Matrix2F
A transformation matrix that can be used to scale or otherwise manipulate            the bitmap before applying it to the line style. colors : scaleform.Color[]
  colors : scaleform.Color[]
Array of colors for the fill.The [] notation indicates that this type is an array: a table in which the keys of the members are sequential integers, and the value of each element is an instance of the type shown.
 ratios : number[]
  ratios : number[]
An array of color distribution ratios.  [more...]The [] notation indicates that this type is an array: a table in which the keys of the members are sequential integers, and the value of each element is an instance of the type shown.
 focalPointRatio : number?
  focalPointRatio : number?
Location of the focal point of the gradient.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 linearRGB : boolean?
  linearRGB : boolean?
Default value of true.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 self : scaleform.ShapeComponent
  self : scaleform.ShapeComponent
The shape component to set the line gradient style of. gradType : string
  gradType : string
The gradient type to fill in. matrix : Matrix2F
  matrix : Matrix2F
A transformation matrix that can be used to scale or otherwise manipulate the bitmap            before applying it to the line style. colors : scaleform.Color[]
  colors : scaleform.Color[]
Array of colors for the fill.The [] notation indicates that this type is an array: a table in which the keys of the members are sequential integers, and the value of each element is an instance of the type shown.
 ratios : number[]
  ratios : number[]
An array of color distribution ratios.  [more...]The [] notation indicates that this type is an array: a table in which the keys of the members are sequential integers, and the value of each element is an instance of the type shown.
 focalPointRatio : number?
  focalPointRatio : number?
Location of the focal point of the gradient.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 linearRGB : boolean?
  linearRGB : boolean?
Default value of true.The ? notation indicates that this type is optional: there may be zero or one instances of it.
 boolean
  boolean mat : Matrix2F
  mat : Matrix2F
A 2D user matrix that is used to transform all rendering in addition to the regular matrix transform. p : scaleform.Point
  p : scaleform.Point
The point in stage coordinates userMatrix : Matrix2F
  userMatrix : Matrix2F
The renderer matrix scaleform.Point
  scaleform.Point
The point in screen coordinates rect : scaleform.Rect
  rect : scaleform.Rect
The rectangle in stage coordinates userMatrix : Matrix2F
  userMatrix : Matrix2F
The renderer matrix scaleform.Rect
  scaleform.Rect
The rectangle in screen coordinates self : scaleform.VisualComponent
  self : scaleform.VisualComponent
The visual component to get the bounds from. matrix : Matrix2F
  matrix : Matrix2F
The matrix that defines the space the bounds will be transformed into. scaleform.Rect
  scaleform.Rect
The transformed bounds of the component. self : scaleform.VisualComponent
  self : scaleform.VisualComponent
The visual component to get the bounds from. matrix : Matrix2F
  matrix : Matrix2F
The matrix that defines the space the bounds will be transformed into. scaleform.Rect
  scaleform.Rect
The transformed bounds of the component.A string of characters. scaleform.Actor
  scaleform.Actor
Generic objects located in a scene.
 Matrix3F
  Matrix3F
A three-dimensional matrix in row-major order.
 scaleform.Rect
  scaleform.Rect
A rectangle based upon two points.
{ x1 : number,  x2 : number,  y1 : number,  y2 : number,  } scaleform.ShapeComponent
  scaleform.ShapeComponent
An interface to shape component.
A pointer to a memory block that is allocated and maintained in C. scaleform.Color
  scaleform.Color
{ alpha : integer,  blue : integer,  green : integer,  red : integer,  } scaleform.VisualComponent
  scaleform.VisualComponent
An interface to the visual component. 
A strictly integral numeric value, with no decimal component.Indicates a table. 
This documentation uses the term table to mean an anonymous, temporary Lua table that contains named data values.                                        You typically use these tables to pass data or settings to a function, or to hold data returned by a function.Indicates an object. 
This documentation uses the term object to mean a named Lua table or userdata value that maintains a state.                                        Some object types may have multiple instances existing at the same time, each with its own state; these objects typically have creation                                        functions or accessors that you must call in order to get an instance. Some object types have only one instance, which you always access                                        through the object's name.Indicates a named variable within a namespace, object or table; or an element within an enumeration.Indicates a code sample.Indicates an enumeration. 
This documentation uses the term  enumeration to mean a named Lua table that contains only a set of constant                                        values. These values typically identify a predefined set of options for some setting or behavior. You might pass an enumeration value to a                                        function, or test the value returned by a function against the items in the enumeration to see which option is currently set.Indicates a named variable within a namespace or object that has a pre-set constant value.Indicates a category: a semantic grouping of related API elements.Indicates a namespace. 
This documentation uses the term namespace to mean a named Lua table that exists in only one single instance,                                        intended as a container for an interface of related objects, functions and data variables.Indicates an output value returned by a function.Indicates a named function within a namespace or object.Indicates an input parameter for a function.