[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'Graph' (#rtl)

SetLineStyle

Set line drawing style

Declaration

Source position: graphh.inc line 704

procedure SetLineStyle(

  LineStyle: Word;

  Pattern: Word;

  Thickness: Word

);

Description

SetLineStylesets the drawing style for lines. You can specify a LineStylewhich is one of the following pre-defined 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 UserBitlnis specified then Patterncontains the bit pattern. In all another cases, Patternis ignored. The parameter Widthindicates how thick the line should be. You can specify one of the following pre-defined constants:

NormWidth
Normal line width
ThickWidth
Double line width

Errors

None.

See also

GetLineSettings

  

Get current line drawing settings

SetWriteMode

  

Specify binary operation to perform when drawing on screen