help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[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

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505