[]
Applies the scaling transformation.
public Matrix Scale(double scaleFactor)
Public Function Scale(scaleFactor As Double) As Matrix
Type | Name | Description |
---|---|---|
double | scaleFactor | The value to scale by on the X and Y axes. |
Type | Description |
---|---|
Matrix | The scaled matrix. |
Applies the scaling transformation.
public Matrix Scale(double sx, double sy)
Public Function Scale(sx As Double, sy As Double) As Matrix
Type | Name | Description |
---|---|---|
double | sx | The value to scale by on the X axis. |
double | sy | The value to scale by on the Y axis. |
Type | Description |
---|---|
Matrix | The scaled matrix. |
Applies the scaling transformation that is offset by a given center point.
public Matrix Scale(double sx, double sy, PointF centerPoint)
Public Function Scale(sx As Double, sy As Double, centerPoint As PointF) As Matrix
Type | Name | Description |
---|---|---|
double | sx | The value to scale by on the X axis. |
double | sy | The value to scale by on the Y axis. |
PointF | centerPoint | The center offset. |
Type | Description |
---|---|
Matrix | The scaled matrix. |
Applies the scaling transformation that is offset by a given center point.
public Matrix Scale(double sx, double sy, double cx, double cy)
Public Function Scale(sx As Double, sy As Double, cx As Double, cy As Double) As Matrix
Type | Name | Description |
---|---|---|
double | sx | The value to scale by on the X axis. |
double | sy | The value to scale by on the Y axis. |
double | cx | X-coordinate of the center offset. |
double | cy | Y-coordinate of the center offset. |
Type | Description |
---|---|
Matrix | The scaled matrix. |