MIXED_COLOR, MIXED_LINEWIDTH
Constructor and Description |
---|
CompositeSymbol(Symbol[] children)
Create a symbol for the given stroke with the color and line
width information.
|
Modifier and Type | Method and Description |
---|---|
Symbol[] |
getChildren()
Return the stroke that's wrapped by this symbol.
|
Color |
getFill()
Return the fill color of the children if it is
the same for all children, or Symbol.MIXED_COLOR if
not.
|
float |
getLineWidth()
Return the linewidth of the children if it is
the same for all children, or Symbol.MIXED_LINEWIDTH if
not.
|
Color |
getOutline()
Return the outline color of the children if it is
the same for all children, or Symbol.MIXED_COLOR if
not.
|
void |
setFill(Color c) |
void |
setLineWidth(float lineWidth) |
void |
setOutline(Color c) |
public CompositeSymbol(Symbol[] children)
public Symbol[] getChildren()
public Color getOutline()
getOutline
in interface Symbol
public Color getFill()
public float getLineWidth()
getLineWidth
in interface Symbol
public void setLineWidth(float lineWidth)
setLineWidth
in interface Symbol
public void setOutline(Color c)
setOutline
in interface Symbol
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.