Transform
Contenuti
[
Nascondere
]Transform(Point)
Trasforma il punto usando questa matrice.
public Point Transform(Point p)
Parametro | Tipo | Descrizione |
---|---|---|
p | Point | Punto che verrà trasformato. |
Valore di ritorno
Risultato della trasformazione.
Esempi
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);
Guarda anche
- class Point
- class Matrix
- spazio dei nomi Aspose.Pdf
- assemblea Aspose.PDF
Transform(Rectangle)
Trasforma il rettangolo. Se l’angolo non è 90 * N gradi, viene restituito il rettangolo di delimitazione.
public Rectangle Transform(Rectangle rect)
Parametro | Tipo | Descrizione |
---|---|---|
rect | Rectangle | Rettangolo da trasformare. |
Valore di ritorno
Rettangolo trasformato.
Esempi
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);
Guarda anche
- class Rectangle
- class Matrix
- spazio dei nomi Aspose.Pdf
- assemblea Aspose.PDF