API Documentation > CorelDRAW > 2025-v26 > ShapeRange > IVGShapeRange
ShapeRange.AffineTransform method
Applies affine transformation defined by transformation matrix components to the shape relative to the center point of the transformation
Syntax:
Sub AffineTransform(ByVal d11 As Double, ByVal d12 As Double, ByVal d21 As Double, ByVal d22 As Double, ByVal CenterX As Double, ByVal CenterY As Double)
Parameters:
Name Type Description
d11
Double
d12
Double
d21
Double
d22
Double
CenterX
Double
CenterY
Double
Remarks:
The AffineTransform method applies an affine transformation - as defined by the transformation-matrix components - to a shape range, 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.