public class AttributeCache extends Object implements Attributes
ARROW_BOTH, ARROW_END, ARROW_NONE, ARROW_START| Constructor and Description |
|---|
AttributeCache(org.freehep.graphics2d.VectorGraphics graphics,
HepRepGraphicsMode mode,
HepRepIterator iterator)
Creates a cache for subscribed attributes.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor()
Current color
|
String |
getDrawAs()
Current DrawAs value
|
Color |
getFillColor()
Current fill color
|
Color |
getFrameColor()
Current frame color
|
double |
getFrameWidth()
Current frame line width
|
double |
getLineWidth()
Current line width
|
double |
getMarkSize()
Current marker size
|
int |
getMarkSymbol()
Current marker symbol
|
int |
hasLineArrow()
Current line has arrow
|
boolean |
isFilled()
Should fill ?
|
boolean |
isPickable() |
boolean |
isVisible() |
void |
overrideColor(Color color) |
void |
overrideFillColor(Color color) |
void |
overrideFrameColor(Color color) |
void |
overrideLineWidth(double lineWidth) |
public AttributeCache(org.freehep.graphics2d.VectorGraphics graphics,
HepRepGraphicsMode mode,
HepRepIterator iterator)
public boolean isVisible()
public boolean isPickable()
public String getDrawAs()
AttributesgetDrawAs in interface Attributespublic Color getColor()
AttributesgetColor in interface Attributespublic double getLineWidth()
AttributesgetLineWidth in interface Attributespublic int hasLineArrow()
AttributeshasLineArrow in interface Attributespublic Color getFrameColor()
AttributesgetFrameColor in interface Attributespublic double getFrameWidth()
AttributesgetFrameWidth in interface Attributespublic Color getFillColor()
AttributesgetFillColor in interface Attributespublic boolean isFilled()
AttributesisFilled in interface Attributespublic int getMarkSymbol()
AttributesgetMarkSymbol in interface Attributespublic double getMarkSize()
AttributesgetMarkSize in interface Attributespublic void overrideColor(Color color)
public void overrideFrameColor(Color color)
public void overrideFillColor(Color color)
public void overrideLineWidth(double lineWidth)
Copyright © 1996-2014 FreeHEP. All Rights Reserved.