|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Drawable
An interface for classes that can draw themselves.
A Drawable can either be added to aGraph2D or a
Graph2DView.
| Method Summary | |
|---|---|
Rectangle |
getBounds()
returns the bounds of this drawable. |
void |
paint(Graphics2D g)
Paints itself on the given graphics context. |
| Method Detail |
|---|
void paint(Graphics2D g)
Rectangle getBounds()
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||