Rotates this AnnContainer and its children by the specified value.
public void Rotate(
double angle
)
- (void)rotateWithAngle:(double)angle NS_SWIFT_NAME(rotate(angle:));
public void rotate(double angle)
public:
void Rotate(
double angle
)
def Rotate(self,angle):
angle
Rotation angle in degrees. This can be any value and is not limited to 90-degree increments.
This method rotates all the AnnObject's children around the center of the container. The container is then rotated by updating Size to be the width and height of the rotated boundary rectangle.
When this method returns, RotateAngle will be updated to contain the cumulative rotation angle for the container. This is the sum of all angle values passed to Rotate. For instance, if Rotate(90) is called twice, then RotateAngle will be 180.
The value of Bounds is also updated to contain the current container boundaries resulting from the rotation operations as follows:
If the rotation is performed in 90-degree increments, then the Bounds width/height values will be the same as Size (since that gets updated as well). The values of X/Y of Bounds stays at 0,0.
If the rotation is performed by any other increment, then the Bounds width/height values will be the coordinates of the bounding rectangle formed by transforming (0,0,Size.Width,Size.Height) by the final RotateAngle value. The values of X/Y of Bounds is then reset to 0,0.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document