ImageEn, unit iexLayers

TIEShapeLayer.BorderWidth

TIEShapeLayer.BorderWidth


Declaration

property BorderWidth: Integer;


Description

The width of the frame around the shape.
To hide the frame set BorderWidth to 0 or BorderColor to clNone.

Default: 1


Example

// Add an explosion layer with an orange border and a yellow fill
ImageEnView1.LayersAdd( ielkShape );
ImageEnView1.CurrentLayer.BorderColor  := $004080FF;
ImageEnView1.CurrentLayer.BorderWidth  := 2;
ImageEnView1.CurrentLayer.FillColor    := clYellow;
ImageEnView1.Update();



// Remove the border...
ImageEnView1.CurrentLayer.BorderWidth  := 0;
ImageEnView1.Update();




See Also

TIELayer.BorderWidth
BorderColor