Transform

Transform(Point)

Transforme le point en utilisant cette matrice.

public Point Transform(Point p)
ParamètreTaperLa description
pPointPoint qui sera transformé.

Return_Value

Résultat de transformation.

Exemples

Aspose.Pdf.DOM.Matrix m = new Aspose.Pdf.DOM.Matrix(new double[] { 1, 0, 0, 1, 10, 20 } );
Aspose.Pdf.Rectangle r = new Aspose.Pdf.Rectangle(0, 0, 100, 100);
Aspose.Pdf.Rectangle r1 = m.Transform(r);

Voir également


Transform(Rectangle)

Transforme le rectangle. Si l’angle n’est pas de 90 * N degrés, alors le rectangle englobant est renvoyé.

public Rectangle Transform(Rectangle rect)
ParamètreTaperLa description
rectRectangleRectangle à transformer.

Return_Value

Rectangle transformé.

Exemples

Matrix m = new Matrix(new double[] { 1, 0, 0, 1, 10, 20 } );
Rectangle r = new Rectangle(0, 0, 100, 100);
Rectangle r1 = m.Transform(r1);

Voir également