rotate method
rotate
Rotate the current transformation matrix. Calls writeTransform(Transform). Rotating with a positive angle theta rotates points on the positive x axis toward the positive y axis.
def rotate(self, theta):
...
Parameter | Type | Description |
---|---|---|
theta | float | Angle in radians over which to rotate. |
rotate
Rotate the current transformation matrix around a point.
def rotate(self, theta, x, y):
...
Parameter | Type | Description |
---|---|---|
theta | float | An angle of rotation in radians. |
x | float | X coordinate of point. |
y | float | Y coordinate of point. |
See Also
- module
aspose.page
- class
Device