Draw_set_line_pattern - hpgDesigns/hpg_projects GitHub Wiki
Description
Sets the line pattern. This can be used to draw dashed lines, dotted lines etc. pattern is 16bit value on how the pattern looks like. For example, $AAAA is hex for 1010101010101010, where 0 is off and 1 is on. When the line is drawn it will variate between these values. So this draws an evenly dashed line. scale is the factor it will be multiplied with. So a scale of 3 will give 111000111000111000111000111000111000111000111000 which will give longer dashes and longer space between them. A value of -1 will remove any pattern and the line will be drawn as normal.
Parameters
- pattern:
- scale:
Return Values
type: Returns...
Example Call
// Example of using the function.
NOTOC