Skip to main content

TdxGPPen.Width Property

Specifies the absolute width (in pixels) of the painted line.

Declaration

property Width: Single read; write;

Property Value

Type
Single

Remarks

If a fractional value is assigned to the Width property, it is rounded down to the nearest integer value to calculate the absolute width of the drawn line (in pixels). The thinnest displayed line has a pixel width of one, even if the Width property has a zero or negative value. To assign a specific pattern to the painted line, use the Style property.

Note

If the Width property is set to 0, the IsEmpty property returns True.

See Also