Vcl.Graphics.TPen.Width
Delphi
property Width: Integer read GetWidth write SetWidth default 1;
C++
__property int Width = {read=GetWidth, write=SetWidth, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TPen |
Description
Specifies the width of the pen in pixels.
Use Width to give the line greater weight. If you attempt to set Width to a value less than 0, the new value is ignored.
Note: The value of Width influences which values of Style are valid.
See Also
Code Examples