Documentation / Marblecore Imaging / Methods / RotateLeft
RotateLeft method
Performs a 90 degree counter clockwise rotation on the image.
Syntax
Boolean RotateLeft()
Return value
Returns true if the function succeeded.
Example
The example below shows the effect of this method and how to use it. You can slide the marker in the before/after picture to see the difference. If you take a look at the example code, assume there is a reference to the Marblecore Imaging object with the name 'MarblecoreImaging'. Transparent parts of the image are displayed using a checkerboard pattern.
1
2 MarblecoreImaging.LoadFromFile("example-rotateleft-before.jpg");
3
4
5 MarblecoreImaging.RotateLeft();
6
7
8 MarblecoreImaging.SaveToFile("example-rotateleft-after.jpg");
Category
Transformations
See also
Clear |
Crop |
Expand |
FlipHorizontal |
FlipVertical |
Opacity |
Resize |
Rotate |
RotateRight |
RoundEdges |
Shear |
Shrink |
Skew |
Straighten |
Thumbnail