Matrix
A matrix can be provided by defining one or more transformations that will be multiplied together to yield a result
The transformations are:
identityscaletranslaterotateskew
Identity
identity() does not accept arguments
Scale
scale(float, float? float?) transformations can accept between 1 and 3 float arguments.
Translate
translate(AlignmentOffset, AlignmentOffset?, AlignmentOffset?) transformations accept between 1 and 3 AlignmentOffset values
Rotation
rotate(UIAngle, UIAngle?, UIAngle?) transformations accept between 1 and 3 UIAngle values
Skew
skew(UIAngle, UIAngle?) transformations accept 1 or 2 UIAngle values
Combining Matrices
Matrices can be combined by placing multiple transformations together. The maximum is 7.
style matrices {
RenderTransform = rotate(20deg) translate(10px, 10px, -50px) skew(19deg);
}