|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.scilab.forge.scirenderer.shapes.appearance.Appearance
public final class Appearance
Basic class for appearance parameters.
| Field Summary | |
|---|---|
static Color |
DEFAULT_FILL_COLOR
The default fill color. |
static Color |
DEFAULT_LINE_COLOR
The default line color. |
static short |
DEFAULT_LINE_PATTERN
The default line pattern (full line). |
static float |
DEFAULT_LINE_WIDTH
The default line width. |
| Constructor Summary | |
|---|---|
Appearance()
Default constructor. |
|
| Method Summary | |
|---|---|
static Appearance |
getDefault()
Return the default appearance. |
Color |
getFillColor()
Return the fill color. |
Color |
getLineColor()
Return the line color. |
short |
getLinePattern()
Return the line pattern. |
float |
getLineWidth()
Return the line width. |
Texture |
getTexture()
Texture getter. |
void |
setFillColor(Color fillColor)
Set the fill color. |
void |
setLineColor(Color lineColor)
Set the line color. |
void |
setLinePattern(short linePattern)
Set the line pattern. |
void |
setLineWidth(float lineWidth)
Set the line width. |
void |
setTexture(Texture texture)
Texture setter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final float DEFAULT_LINE_WIDTH
public static final short DEFAULT_LINE_PATTERN
public static final Color DEFAULT_LINE_COLOR
public static final Color DEFAULT_FILL_COLOR
| Constructor Detail |
|---|
public Appearance()
| Method Detail |
|---|
public static Appearance getDefault()
public Texture getTexture()
public void setTexture(Texture texture)
texture - the new texture.public float getLineWidth()
public void setLineWidth(float lineWidth)
lineWidth - the new line width.public short getLinePattern()
public void setLinePattern(short linePattern)
linePattern - the new line pattern.public Color getLineColor()
public void setLineColor(Color lineColor)
lineColor - the new lne color.public Color getFillColor()
public void setFillColor(Color fillColor)
fillColor - the new fill color.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||