Transform
Contenido
[
Ocultar
]Transform(Point)
Transforma el punto usando esta matriz.
public Point Transform(Point p)
Parámetro | Escribe | Descripción |
---|---|---|
p | Point | Punto que será transformado. |
Valor_devuelto
Resultado de la transformación.
Ejemplos
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);
Ver también
- class Point
- class Matrix
- espacio de nombres Aspose.Pdf
- asamblea Aspose.PDF
Transform(Rectangle)
Transforma el rectángulo. Si el ángulo no es 90 * N grados, se devuelve el rectángulo delimitador.
public Rectangle Transform(Rectangle rect)
Parámetro | Escribe | Descripción |
---|---|---|
rect | Rectangle | Rectángulo a transformar. |
Valor_devuelto
Rectángulo transformado.
Ejemplos
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);
Ver también
- class Rectangle
- class Matrix
- espacio de nombres Aspose.Pdf
- asamblea Aspose.PDF