Search this API

y.view
Interface YRenderingHints.AntiAliasingHandler

Enclosing class:
YRenderingHints

public static interface YRenderingHints.AntiAliasingHandler

Specifies the contract for YRenderingHints.KEY_ANTIALIASING_HANDLER hint values.

See Also:
Graph2DView.setRenderingHints(java.awt.RenderingHints)
 

Method Summary
 void setRenderingHints(Graph2DView view, java.awt.Graphics2D gfx)
          Sets anti-aliasing rendering hints for painting the contents of the given view.
 

Method Detail

setRenderingHints

void setRenderingHints(Graph2DView view,
                       java.awt.Graphics2D gfx)
Sets anti-aliasing rendering hints for painting the contents of the given view. This method is invoked from Graph2DView.setRenderingHints(java.awt.Graphics2D) to configure the specified graphics context for painting the given view's content.

Parameters:
view - the graph view that is painted.
gfx - the graphics context to paint on.

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.