public abstract class BasicGraphicalElement extends Object implements GraphicalElement
GraphicalElements. Concrete subclasses have to implement
the method GraphicalElement.renderWith(jcckit.graphic.Renderer).| Constructor and Description |
|---|
BasicGraphicalElement(GraphicAttributes attributes)
Creates an instance with the specified drawing attributes.
|
| Modifier and Type | Method and Description |
|---|---|
GraphicAttributes |
getGraphicAttributes()
Returns the drawing attributes.
|
boolean |
isClosed()
Returns whether this basic graphical element has a closed shape
or not.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrenderWithpublic BasicGraphicalElement(GraphicAttributes attributes)
Renderer should use default attributes
in the case no attributes are defined.attributes - Drawing attributes or null if undefined.public GraphicAttributes getGraphicAttributes()
public boolean isClosed()
Copyright © 2016. All Rights Reserved.