Rotation
Rotation(double)
Skapar matris för given rotationsvinkel.
public static Matrix Rotation(double alpha)
Parameter | Typ | Beskrivning |
---|---|---|
alpha | Double | Rotationsvinkel i radianer. |
Returvärde
Transformationsmatris.
Exempel
Matrix m = Matrix.Rotation(Math.PI / 2);
Se även
- class Matrix
- namnutrymme Aspose.Pdf
- hopsättning Aspose.PDF
Rotation(Rotation)
Skapar matris för given rotation.
public static Matrix Rotation(Rotation rotation)
Parameter | Typ | Beskrivning |
---|---|---|
rotation | Rotation | Rotation. Giltiga värden är: None, on90, on180, on270 |
Returvärde
Matris med rotation.
Se även
- enum Rotation
- class Matrix
- namnutrymme Aspose.Pdf
- hopsättning Aspose.PDF