|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xj.anylogic.engine.presentation.Shape
com.xj.anylogic.engine.presentation.ShapeLineFill
public abstract class ShapeLineFill
An intermediate base class - for all shapes that have line and fill.
| Field Summary |
|---|
| Fields inherited from class com.xj.anylogic.engine.presentation.Shape |
|---|
UNKNOWN_NAME |
| Constructor Summary | |
|---|---|
ShapeLineFill()
|
|
| Method Summary | |
|---|---|
java.awt.Color |
getFillColor()
Returns the fill color of the shape, or null if shape has no fill color or
has textured fill (in this case getFillTexture() should be used instead) |
Texture |
getFillTexture()
Returns the fill texture of the shape, if the shape has fill texture |
java.awt.Color |
getLineColor()
Returns the line color of the shape, or null if shape has no line color or
has textured line (in this case getLineTexture() should be used instead) |
int |
getLineStyle()
Returns the line style of the shape: ActiveObject. |
Texture |
getLineTexture()
Returns the line texture of the shape, if the shape has line texture |
double |
getLineWidth()
Returns the line width of the shape. |
void |
setFillColor(java.awt.Color fillColor)
Sets the fill color of the shape. |
void |
setFillColor(java.lang.Object fillColor)
Sets the fill color (or Texture) of the shape. |
void |
setLineColor(java.awt.Color lineColor)
Sets the line color of the shape. |
void |
setLineColor(java.lang.Object lineColor)
Sets the line color (or Texture) of the shape. |
void |
setLineStyle(int style)
Sets the line style of the shape: ActiveObject. |
void |
setLineWidth(double width)
Sets the line width of the shape, 0 means thinnest possible |
| Methods inherited from class com.xj.anylogic.engine.presentation.Shape |
|---|
canHandleClick, clone, contains, draw, getGroup, getName, getPresentable, getRotation, getScaleX, getScaleY, getX, getY, isVisible, onClick, onClickAt, restoreOwner, setPos, setRotation, setScale, setScale, setScaleX, setScaleY, setVisible, setX, setY |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShapeLineFill()
| Method Detail |
|---|
public void setLineColor(java.awt.Color lineColor)
lineColor - the new line color, null = do not draw the shape linepublic void setLineColor(java.lang.Object lineColor)
Texture) of the shape.
lineColor - the new line color, null = do not draw the shape linepublic java.awt.Color getLineColor()
null if shape has no line color or
has textured line (in this case getLineTexture() should be used instead)
public Texture getLineTexture()
public void setFillColor(java.awt.Color fillColor)
fillColor - the new fill color, null = do not fill the shapepublic void setFillColor(java.lang.Object fillColor)
Texture) of the shape.
fillColor - the new fill color, null = do not fill the shapepublic java.awt.Color getFillColor()
null if shape has no fill color or
has textured fill (in this case getFillTexture() should be used instead)
public Texture getFillTexture()
public void setLineWidth(double width)
width - the new line width of the shapepublic double getLineWidth()
public void setLineStyle(int style)
style - the new style of the shapepublic int getLineStyle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||