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,
hep.graphics.heprep.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, hep.graphics.heprep.HepRepIterator iterator)
public boolean isVisible()
public boolean isPickable()
public String getDrawAs()
Attributes
getDrawAs
in interface Attributes
public Color getColor()
Attributes
getColor
in interface Attributes
public double getLineWidth()
Attributes
getLineWidth
in interface Attributes
public int hasLineArrow()
Attributes
hasLineArrow
in interface Attributes
public Color getFrameColor()
Attributes
getFrameColor
in interface Attributes
public double getFrameWidth()
Attributes
getFrameWidth
in interface Attributes
public Color getFillColor()
Attributes
getFillColor
in interface Attributes
public boolean isFilled()
Attributes
isFilled
in interface Attributes
public int getMarkSymbol()
Attributes
getMarkSymbol
in interface Attributes
public double getMarkSize()
Attributes
getMarkSize
in interface Attributes
public 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.