public final class SceneAntialiasing extends ObjectThe JavaFX
SceneAntialiasingclass specifies the level of anti-aliasing desired. Scene anti-aliasing is primarily used when rendering 3D primitives, which are otherwise rendered aliased.
SceneAntialiasingis unrelated to
SceneAntialiasingaffects the smoothness of the entire rendered scene whereas
Shape.setSmoothis a rendering hint that applies to an individual 2D Shape.
Note: In order for
SceneAntialiasingto have an affect, the underlying system must support:
- JavaFX 8.0
Fields Modifier and Type Field Description
BALANCEDEnables anti-aliasing optimizing for a balance of quality and performance
public static final SceneAntialiasing DISABLEDDisables anti-aliasing
public static final SceneAntialiasing BALANCEDEnables anti-aliasing optimizing for a balance of quality and performance