new TransformationBuilder( [initial])
        A builder class to help facilitate creating transformation matrices.
    
    
    
    
    
    
        Parameters:
| Name | Type | Argument | Description | 
|---|---|---|---|
| initial | Array.<CoreControls.Math.Matrix> | <optional> | transformation matrix list. | 
Methods
- 
    clear()
- 
    
    Clears the list of all transformations.Returns:The tranformation matrix
- 
    getAt(index)
- 
    
    Gets the transformation at a particular index.Parameters:Name Type Description indexnumber A valid index Returns:A transformation matrix
- 
    getFinalTransform()
- 
    
    Gets the final transformation by multiplying the matrices in the list.Returns:The tranformation matrix
- 
    insertAt(index, transform)
- 
    
    Inserts a transformation matrix at a particular index.Parameters:Name Type Description indexnumber A valid index transformCoreControls.Math.Matrix A transformation matrix Returns:This instance
- 
    pop()
- 
    
    Pop and returns the last transformation matrix.Returns:This instance
- 
    push(transform)
- 
    
    Pushes a transformation matrix into the list.Parameters:Name Type Description transformCoreControls.Math.Matrix The transformation matrix Returns:This instance
- 
    removeAt(index)
- 
    
    Removes the transformation matrix at a particular index.Parameters:Name Type Description indexnumber A valid index Returns:This instance
- 
    scale(x, y)
- 
    
    Creates a scale transform and adds it to the list.Parameters:Name Type Description xnumber The amount to scale by horizontally ynumber The amount to scale by vertically Returns:This instance
- 
    setAt(index, transform)
- 
    
    Sets the transformation matrix at a particular index.Parameters:Name Type Description indexnumber A valid index transformCoreControls.Math.Matrix A transformation matrix Returns:This instance
- 
    skew(x, y)
- 
    
    Creates a scale transform and adds it to the list.Parameters:Name Type Description xnumber The amount to scale by horizontally ynumber The amount to scale by vertically Returns:This instance
- 
    skew(angle [, inRadians])
- 
    
    Creates a rotation transform and adds it to the list.Parameters:Name Type Argument Default Description anglenumber The amount to rotate by inRadiansboolean <optional> 
 false Whether the amount is in radians. Default: false Returns:This instance
- 
    translate(x, y)
- 
    
    Creates a translation transform and adds it to the list.Parameters:Name Type Description xnumber The amount to translate by horizontally ynumber The amount to translate by vertically Returns:This instance
- 
    translateTo(sx, sy, dx, dy)
- 
    
    Creates a translation transform from a source to a destination and adds it to the list.Parameters:Name Type Description sxnumber The source X value synumber The source Y value dxnumber The destination X value dynumber The destination Y value Returns:This instance