FormatProperties.TransformTransform the contents and border of the object with an affine transform matrix. A transform can consist of any combination of individual transforms (Affine, Rotate, Translate, Scale, Skew)Example 1Example = Block { // Rotate Paragraph(new(0, new (1, 0, Colors.Blue), 0, 0)) { Separator: Tab; RotateBox(each [0, 10, 20, 45, 90, 120, 180]); };};0 degrees10 degrees20 degrees45 degrees90 degrees120 degrees180 degreesExample 2Example2 = Block { // Translate Paragraph(new(0, new (1, 0, Colors.Blue), 0, 0)) { Separator: Tab; TranslateBox(0, 0); TranslateBox(10, 0); TranslateBox(0, 10); TranslateBox(10, 10); };};0, 010, 00, 1010, 10Example 3Example3 = Block { // Skew Paragraph(new(0, new (1, 0, Colors.Blue), 0, 0)) { Separator: Tab; SkewBox(0, 0); SkewBox(10, 0); SkewBox(0, 10); SkewBox(20, 20); };};0, 010, 00, 1020, 20
Example 4Example4 = Block { // Scale Paragraph(new(0, new (1, 0, Colors.Blue), 0, 0)) { Separator: Tab; FitBox(50%, 50%); FitBox(150%, 50%); FitBox(50%, 150%); FitBox(%150, %150); };};50%, 50%150%, 50%50%, 150%150%, 150%Example 5Example5 = Block { // Picture frame Paragraph(new(0, new (1, 0, Colors.Blue), 0, 0)) { SkewRotate(-10, "Face"); SkewRotate(10, "Page"); };};FacePage