Static
makehorizontal scale factor
horizontal skew factor
horizontal translation
vertical skew factor
vertical scale factor
vertical translation
input x-axis perspective factor
input y-axis perspective factor
perspective scale factor
Static
makeSets Matrix to scale by (sx, sy). Returned matrix is:
| sx 0 0 |
| 0 sy 0 |
| 0 0 1 |
Matrix with scale
horizontal scale factor
Optional
scaleY: number[optionals] vertical scale factor, default equal scaleX.
Static
makeReturns one matrix value.
Sets Matrix value.
Sets all values from parameters. Sets matrix to:
| scaleX skewX transX |
| skewY scaleY transY |
| persp0 persp1 persp2 |
horizontal scale factor to store
horizontal skew factor to store
horizontal translation to store
vertical skew factor to store
vertical scale factor to store
vertical translation to store
Sets Matrix to scale by sx and sy, about a pivot point at (px, py). The pivot point is unchanged when mapped with Matrix.
horizontal scale factor
vertical scale factor
pivot on x-axis
pivot on y-axis
Sets Matrix to rotate by degrees about a pivot point at (px, py). The pivot point is unchanged when mapped with Matrix. Positive degrees rotates clockwise.
angle of axes relative to upright axes
pivot on x-axis
pivot on y-axis
Sets Matrix to rotate by sinValue and cosValue, about a pivot point at (px, py). The pivot point is unchanged when mapped with Matrix. Vector (sinValue, cosValue) describes the angle of rotation relative to (0, 1). Vector length specifies scale.
Sets Matrix to skew by kx and ky, about a pivot point at (px, py). The pivot point is unchanged when mapped with Matrix.
horizontal skew factor
vertical skew factor
pivot on x-axis
pivot on y-axis
Sets Matrix to Matrix a multiplied by Matrix b. Either a or b may be this.
Given:
| A B C | | J K L |
a = | D E F |, b = | M N O |
| G H I | | P Q R |
sets Matrix to:
| A B C | | J K L | | AJ+BM+CP AK+BN+CQ AL+BO+CR |
a * b = | D E F | * | M N O | = | DJ+EM+FP DK+EN+FQ DL+EO+FR |
| G H I | | P Q R | | GJ+HM+IP GK+HN+IQ GL+HO+IR |
scaleX; horizontal scale factor to store
skewY; vertical skew factor to store
skewX; horizontal skew factor to store
scaleY; vertical scale factor to store
transX; horizontal translation to store
transY; vertical translation to store
Generated using TypeDoc
Sets Matrix to:
Returns
Matrix constructed from parameters