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

SetLineStyle

Set line drawing style

Declaration

Source position: graphh.inc line 737

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 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 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 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


Documentation generated on: Mar 17 2017