NShape Reference
MoveControlPointBy

<< Click to Display Table of Contents >>

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

NShape Reference
MoveControlPointBy

Previous pageReturn to chapter overviewNext page

Moves the control point by a given distance.

Syntax

public sealed override bool MoveControlPointBy(int deltaX, int deltaY)

Description

Moves the control point by a given distance.

This Method overrides and seals the Shape.MoveControlPointBy method. The implementation of this method calls BeginResize, MovePointByCore and EndResize in this order.

Parameters

Name

Description

deltaX, deltaY

The x and y components of the distance to move.

Return Value

Returns true if the movement of the point was done like requested, false if the point was moved 'as far as possible'.