public class StrokeSymbol extends Object implements Symbol
MIXED_COLOR, MIXED_LINEWIDTH
Constructor and Description |
---|
StrokeSymbol(TimedStroke stroke,
Color outline,
Color fill,
float lineWidth)
Create a symbol for the given stroke with the outline/fill color
and line width information.
|
Modifier and Type | Method and Description |
---|---|
Color |
getFill()
Return the fill color of this symbol.
|
float |
getLineWidth()
Return the line width used to draw this symbol.
|
Color |
getOutline()
Return the outline color of this symbol.
|
TimedStroke |
getStroke()
Return the stroke that's wrapped by this symbol.
|
void |
setFill(Color c)
Set the fill color of this symbol.
|
void |
setLineWidth(float w)
Set the line width used to draw this symbol.
|
void |
setOutline(Color c)
Set the outline color of this symbol.
|
void |
setStroke(TimedStroke stroke)
Set the timed stroke of this symbol.
|
public StrokeSymbol(TimedStroke stroke, Color outline, Color fill, float lineWidth)
public TimedStroke getStroke()
public Color getOutline()
getOutline
in interface Symbol
public Color getFill()
public float getLineWidth()
getLineWidth
in interface Symbol
public void setOutline(Color c)
setOutline
in interface Symbol
public void setFill(Color c)
public void setLineWidth(float w)
setLineWidth
in interface Symbol
public void setStroke(TimedStroke stroke)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.