NShape Reference
Rotate Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > Shape Class >

NShape Reference
Rotate Method

Previous pageReturn to chapter overviewNext page

Rotates the shape.

Syntax

public abstract bool Rotate(int angle, int x, int y)

Description

Rotates the shape around the point x, y clockwise. The rotation can fail, if the shape is connected via connection points.

Parameters

Name

Description

angle

Angle in tenth of degrees

x

X coordinate of the rotation center

y

Y coordinate of the rotation center

Return Value

True, if the movement could be executed completely, otherwise false.

Exceptions

None