Unit 'Graphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TPen.Style

Contains the line drawing style for the pen.

Declaration

Source position: graphics.pp line 674

published property TPen.Style
  default psSolid;

Description

Style is a TPenStyle property with the style used to draw lines with the Pen, and can contain one of the following values:

psDash, psDot, psDashDot, and psDashDotDot are drawn using the corresponding TPenPattern for the Style. On the Windows platform, these styles are not available if the Width is any value other than 1.

psInsideFrame uses a solid drawing style, and a Color dithered to one of the values in the color table for the device. The content drawn with the pen is reduced in size so that it appears inside of a bounding rectangle including the Width for the pen.

psClear, in general, tells the implementing class or routine that the drawing operation is not needed.

The default value for the property is psSolid. Setting a new value for the property cause the Changed method to be called to signal the OnChange event handler (when assigned).