NShape Reference
Rotate

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced > ShapeBase Class >

NShape Reference
Rotate

Previous pageReturn to chapter overviewNext page

Rotates the shape by a given angle.

Syntax

public override sealed bool Rotate(int deltaAngle, int x, int y)

Description

Moves the shape by a given distance.

This Method overrides and seals the Shape.Rotate method. The implementation of this method calls BeginRotate, MoveByCore and EndMove in this order.

Parameters

Name

Description

deltaAngle

Specifies the rotation angle in tenths of degrees.

x, y

The center of the rotation

Return Value

Returns true if the movement was successful, false if the movement was performed 'as far as possible'.