|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ast.grf.DefaultGrfState
public class DefaultGrfState
Java class to store the current GRF state. The GRF state is defined as the current colour, line style & width, character and marker size.
Constructor Summary | |
---|---|
DefaultGrfState()
Constructor for the DefaultGrfState object |
|
DefaultGrfState(double istyle,
double iwidth,
double isize,
double ifont,
double icolour)
Constructor for the DefaultGrfState object |
|
DefaultGrfState(double istyle,
double iwidth,
double isize,
double ifont,
double icolour,
Rectangle iclip,
double ialpha)
Constructor for the DefaultGrfState object |
Method Summary | |
---|---|
Object |
clone()
|
double |
getAlpha()
Gets the alpha attribute of the DefaultGrfState object |
Rectangle |
getClip()
Gets the clip attribute of the DefaultGrfState object |
double |
getColour()
Gets the colour attribute of the DefaultGrfState object |
double |
getFont()
Gets the font attribute of the DefaultGrfState object |
double |
getSize()
Gets the size attribute of the DefaultGrfState object |
double |
getStyle()
Gets the style attribute of the DefaultGrfState object |
double |
getWidth()
Gets the width attribute of the DefaultGrfState object |
void |
setAlpha(double value)
Sets the alpha attribute of the DefaultGrfState object |
void |
setClip(Rectangle value)
Sets the clip attribute of the DefaultGrfState object |
void |
setColour(double value)
Sets the colour attribute of the DefaultGrfState object |
void |
setFont(double value)
Sets the font attribute of the DefaultGrfState object |
void |
setSize(double value)
Sets the size attribute of the DefaultGrfState object |
void |
setStyle(double value)
Sets the style attribute of the DefaultGrfState object |
void |
setWidth(double value)
Sets the width attribute of the DefaultGrfState object |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultGrfState()
public DefaultGrfState(double istyle, double iwidth, double isize, double ifont, double icolour)
public DefaultGrfState(double istyle, double iwidth, double isize, double ifont, double icolour, Rectangle iclip, double ialpha)
Method Detail |
---|
public double getWidth()
public double getSize()
public double getFont()
public double getColour()
public double getStyle()
public Rectangle getClip()
public double getAlpha()
public void setWidth(double value)
public void setSize(double value)
public void setFont(double value)
public void setColour(double value)
public void setStyle(double value)
public void setClip(Rectangle value)
public void setAlpha(double value)
public Object clone()
clone
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |