ImageEn, unit iexLayers

TIELayer.RotateCenterY

TIELayer.RotateCenterY


Declaration

property RotateCenterY: Double;


Description

Specifies the vertical rotation center, in percentage of layer size.
0.5 means center (default), while 0 is top side and 1 is bottom side.
Also allowed are values less than 0 and greater than 1 (e.g. 2 would rotate at one height below the image).
This value (and RotateCenterX) is modified when user moves the central grip, when layers rotation is active.

Note: Applies only to TIEImageLayer

Default: 0.5


Example

// Move rotation center to 25% in from top-left corner
ImageEnView1.CurrentLayer.RotateCenterX := 0.25;
ImageEnView1.CurrentLayer.RotateCenterY := 0.25;
ImageEnView1.Update();


See Also

RotateCenterX
Rotate
Flip