Controlling appearance
LineAttributes class methods
- Methods on LineAttributes select the way
lines are rendered
- By default, the line width is 1.0, the pattern is
PATTERN_SOLID, and anti-aliasing is disabled
| Method |
| LineAttributes( ) |
| void setLineWidth( float width ) |
| void setLinePattern( int pattern ) |
| void setLineAntialiasingEnable( boolean state ) |
- Line patterns include:
PATTERN_SOLID (default),
PATTERN_DASH,
PATTERN_DOT, and
PATTERN_DASH_DOT