76

Controlling appearance
Line Attributes Example Code

  • 10 pixel lines, solid, not anti-aliased
  • LineAttributes lta = new LineAttributes( );
    lta.setLineWidth( 10.0f );
    lta.setLineAntialiasingEnable( false );
    lta.setLinePattern( LineAttributes.PATTERN_SOLID );
    app.setLineAttributes( lta );