[]
Creates a scaling matrix that scales uniformly with the given scale.
public static Matrix CreateScale(double scale)
| 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)
| Type | Name | Description |
|---|---|---|
| double | scale | The uniform scale to use. |
| PointF | centerPoint | The center offset. |
| 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)
| 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)
| 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)
| 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)
| 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. |