Example usage for java.awt RenderingHints VALUE_RENDER_DEFAULT

List of usage examples for java.awt RenderingHints VALUE_RENDER_DEFAULT

Introduction

In this page you can find the example usage for java.awt RenderingHints VALUE_RENDER_DEFAULT.

Prototype

Object VALUE_RENDER_DEFAULT

To view the source code for java.awt RenderingHints VALUE_RENDER_DEFAULT.

Click Source Link

Document

Rendering hint value -- rendering algorithms are chosen by the implementation for a good tradeoff of performance vs.

Usage

From source file:DefaultGraphics2D.java

/**
 * Default constructor
 */
public GraphicContext() {
    // to workaround a JDK bug
    hints.put(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_DEFAULT);
}