Unit 'Graph' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#rtl]

SetLineStyle

Set line drawing style.

Declaration

Source position: graphh.inc line 743

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

GetLineSettings

  

Get current line drawing settings.

SetWriteMode

  

Specify binary operation to perform when drawing on screen.


Documentation generated on: Nov 24 2024