Sign in Join
FPDoc Onlineexperiment

SetLineStyle procedure

In unit Graph

Set line drawing style.

Declaration

pascal
procedure SetLineStyle(LineStyle: Word; Pattern: Word; Thickness: Word)

Description

SetLineStyle sets the drawing style for lines. You can specify a LineStyle which is one of the following predefined constants:

Solidln
draws a solid line.
Dottedln
Draws a dotted line.
Centerln
draws a non-broken centered line.
Dashedln
draws a dashed line.
UserBitln
Draws a User-defined bit pattern.

If UserBitln is specified then Pattern contains the bit pattern. In all another cases, Pattern is ignored. The parameter Width indicates how thick the line should be. You can specify one of the following predefined constants:

NormWidth
Normal line width
ThickWidth
Double line width

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.