Previous Document Next Document

Object Model Reference : Classes : S : Shape : Methods : Shape.AffineTransform


Shape.AffineTransform

Sub AffineTransform(d11 As Double, d12 As Double, d21 As Double, d22 As Double, CenterX As Double, CenterY As Double)

Description

Member of Shape

The AffineTransform method applies an affine transformation (as defined by the transformation-matrix components) to a shape, relative to the center point of the transformation.

 
A transformation matrix is four numbers that include two transformations and two translations (or movements). Each matrix element is referred to as d11, d12, d21, and d22 respectively, left to right, and top to bottom.

Parameter
Description
d11
Specifies the horizontal stretch factor multiplied by the cosine of the rotation angle
d12
Specifies the vertical stretch factor multiplied by the sine of the sum of the rotation and skew angles. This value is expressed as the negative of the resultant value.
d21
Specifies the horizontal stretch factor multiplied by the sine of the rotation angle
d22
Specifies the vertical stretch factor multiplied by the cosine of the sum of the rotation and skew angles
CenterX
Specifies the x-coordinate of the center
CenterY
Specifies the y-coordinate of the center

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.