ImageEn, unit iexLayers

TIETextLayer.BorderRotate

TIETextLayer.BorderRotate


Declaration

property BorderRotate: Double;


Description

The angle of the shape around the text.

Note:
This works best when you center the text, i.e. Alignment := iejCenter; and Layout := ielCenter;
Rotation of the text is specified by Rotate
Enable AspectRatioLocked to prevent the shape becoming skewed
By default, the border shape is not rotated when rotating the layer. Hold the Alt key or use LayersTextRotateMode to change this behavior

Default: 0


Example

// Add a rectangular border at 30 deg. CCW rotation
TIETextLayer( ImageEnView1.CurrentLayer ).BorderShape  := iesRectangle;
TIETextLayer( ImageEnView1.CurrentLayer ).Alignment    := iejCenter;
TIETextLayer( ImageEnView1.CurrentLayer ).Layout       := ielCenter;
TIETextLayer( ImageEnView1.CurrentLayer ).AspectRatioLocked := True;
TIETextLayer( ImageEnView1.CurrentLayer ).BorderRotate := 30;
ImageEnView1.Update();


See Also

Rotate
LayersTextRotateMode
BorderShape