|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.view.YRenderingHints
public class YRenderingHints
Provides rendering hint keys whose associated values may be interpreted by NodeRealizer, EdgeRealizer and other objects that are drawn within a Graph2DView..
| Field Summary | |
|---|---|
static RenderingHints.Key |
GRAPHICS_CONTEXT_KEY
A key whose associated value must be of type GraphicsContext. |
static RenderingHints.Key |
PAINT_DETAIL_THRESHOLD_KEY
A key whose associated value must be of type Double. |
| Method Summary | |
|---|---|
static GraphicsContext |
getGraphicsContext(Graphics2D g)
Convenience method that tries to retrieve the GraphicsContext
from the given graphics object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final RenderingHints.Key PAINT_DETAIL_THRESHOLD_KEY
Graph2DView.setPaintDetailThreshold(double)public static final RenderingHints.Key GRAPHICS_CONTEXT_KEY
GraphicsContext.
Graph2DView will register this hint to the Graphics2D
instance during rendering.
GraphicsContext,
Graph2DView.createGraphicsContext(),
getGraphicsContext(java.awt.Graphics2D)| Method Detail |
|---|
public static GraphicsContext getGraphicsContext(Graphics2D g)
GraphicsContext
from the given graphics object.
This is done via the GRAPHICS_CONTEXT_KEY.
g - The graphics object to retrieve the context for.
null if none was associated with the context.
|
© Copyright 2000-2008, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||