|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.view.CompositeDrawable
public class CompositeDrawable
A composite Drawable instance that merges multiple Drawable
s into one
Constructor Summary | |
---|---|
CompositeDrawable()
Creates a new instance of CompositeDrawable |
Method Summary | |
---|---|
void |
addDrawable(Drawable d)
Adds another one to the internal list. |
java.awt.Rectangle |
getBounds()
Lazily calculates the bounds of the drawables. |
void |
paint(java.awt.Graphics2D g)
Calls paint on all drawables. |
boolean |
removeDrawable(Drawable d)
Removes one from the internal list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeDrawable()
Method Detail |
---|
public void addDrawable(Drawable d)
public boolean removeDrawable(Drawable d)
public java.awt.Rectangle getBounds()
getBounds
in interface Drawable
public void paint(java.awt.Graphics2D g)
paint
in interface Drawable
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |