_GetLineStyle Function
◄Summary► ◄Details► ◄Example► ◄Back►
Returns
Word Current line-style mask
Description
Some graphics routines (_LineTo and _Rectangle) output straight
lines to the screen. The type of line can be controlled with the
current line-style mask.
The _GetLineStyle function returns the current line-style mask
number. The mask is a 16-bit number, where each bit represents a
pixel in the line being drawn. If the bit is 1, the corresponding
pixel is set to the current color. If the bit is 0, the
corresponding pixel is left unchanged. The mask is repeated over
the length of the line. The default mask is $FFFF (a solid line).