[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.Matrix.Transform

Transform Method

Transform(PointF)

Transforms a point by this matrix.

Declaration
public PointF Transform(PointF point)
Public Function Transform(point As PointF) As PointF
Parameters
Type Name Description
PointF point

The original point to apply the transformation.

Returns
Type Description
PointF

The transformed point.

Transform(float, float)

Transforms a point by this matrix.

Declaration
public PointF Transform(float x, float y)
Public Function Transform(x As Single, y As Single) As PointF
Parameters
Type Name Description
float x

X-coordinate of the original point.

float y

Y-coordinate of the original point.

Returns
Type Description
PointF

The transformed point.

Transform(double, double)

Transforms a point by this matrix.

Declaration
public (double, double) Transform(double x, double y)
Public Function Transform(x As Double, y As Double) As (Double, Double)
Parameters
Type Name Description
double x

X-coordinate of the original point.

double y

Y-coordinate of the original point.

Returns
Type Description
(double, double)

A pair of transformed X and Y coordinates.

Transform(PointF[], int, int)

Transforms an array of points by this matrix.

Declaration
public void Transform(PointF[] points, int startIndex, int count)
Public Sub Transform(points As PointF(), startIndex As Integer, count As Integer)
Parameters
Type Name Description
PointF[] points
int startIndex
int count