[]
Creates a scaling matrix that scales uniformly with the given scale.
public static Matrix CreateScale(double scale)
Public Shared Function CreateScale(scale As Double) As Matrix
Type | Name | Description |
---|---|---|
double | scale | The uniform scale to use. |
Type | Description |
---|---|
Matrix | The scaling matrix. |
Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center.
public static Matrix CreateScale(double scale, PointF centerPoint)
Public Shared Function CreateScale(scale As Double, centerPoint As PointF) As Matrix
Type | Description |
---|---|
Matrix | The scaling matrix. |
Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center.
public static Matrix CreateScale(double scale, double cx, double cy)
Public Shared Function CreateScale(scale As Double, cx As Double, cy As Double) As Matrix
Type | Name | Description |
---|---|---|
double | scale | The uniform scale to use. |
double | cx | X-coordinate of the center offset. |
double | cy | Y-coordinate of the center offset. |
Type | Description |
---|---|
Matrix | The scaling matrix. |
Creates a scaling matrix from the specified X and Y components.
public static Matrix CreateScale(double xScale, double yScale)
Public Shared Function CreateScale(xScale As Double, yScale As Double) As Matrix
Type | Name | Description |
---|---|---|
double | xScale | The value to scale by on the X axis. |
double | yScale | The value to scale by on the Y axis. |
Type | Description |
---|---|
Matrix | The scaling matrix. |
Creates a scaling matrix that is offset by a given center point.
public static Matrix CreateScale(double xScale, double yScale, PointF centerPoint)
Public Shared Function CreateScale(xScale As Double, yScale As Double, centerPoint As PointF) As Matrix
Type | Name | Description |
---|---|---|
double | xScale | The value to scale by on the X axis. |
double | yScale | The value to scale by on the Y axis. |
PointF | centerPoint | The center offset. |
Type | Description |
---|---|
Matrix | The scaling matrix. |
Creates a scaling matrix that is offset by a given center point.
public static Matrix CreateScale(double xScale, double yScale, double cx, double cy)
Public Shared Function CreateScale(xScale As Double, yScale As Double, cx As Double, cy As Double) As Matrix
Type | Name | Description |
---|---|---|
double | xScale | The value to scale by on the X axis. |
double | yScale | 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 scaling matrix. |