Class StandardArrowShape
java.lang.Object
org.graffiti.plugins.views.defaults.AbstractArrowShape
org.graffiti.plugins.views.defaults.StandardArrowShape
- All Implemented Interfaces:
Shape
,ArrowShape
,SupportsHollowDrawing
public class StandardArrowShape extends AbstractArrowShape implements SupportsHollowDrawing
DOCUMENT ME!
- Version:
- $Revision: 1.11 $
-
Constructor Summary
Constructors Constructor Description StandardArrowShape()
Constructs a new arrow.StandardArrowShape(float size)
-
Method Summary
Modifier and Type Method Description boolean
isHollow()
void
setHollow(boolean h)
void
updateSize(double size)
Methods inherited from class org.graffiti.plugins.views.defaults.AbstractArrowShape
addThickness, affix, contains, contains, contains, contains, getAnchor, getBounds, getBounds2D, getPathIterator, getPathIterator, intersects, intersects
-
Constructor Details
-
StandardArrowShape
public StandardArrowShape(float size) -
StandardArrowShape
public StandardArrowShape()Constructs a new arrow. Creates theGeneralPath
representing the arrow and sets head and anchor.
-
-
Method Details
-
updateSize
public void updateSize(double size)- Specified by:
updateSize
in interfaceArrowShape
- Overrides:
updateSize
in classAbstractArrowShape
-
isHollow
public boolean isHollow()- Specified by:
isHollow
in interfaceSupportsHollowDrawing
-
setHollow
public void setHollow(boolean h)- Specified by:
setHollow
in interfaceSupportsHollowDrawing
-