public class NullSolidFillLegend extends Object implements ConstantSolidFill
SolidFill fields that are set to null can be considered as constant
in some situation. Indeed, they are "simple", are not linked to an analysis
and always produce the same result, whatever the input feature.| Constructor and Description |
|---|
NullSolidFillLegend() |
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor()
Get the
Color used to paint the inner SolidFill. |
SolidFill |
getFill()
Gets the
SolidFill associated to this legend. |
double |
getOpacity()
Get the
Color used to paint the inner SolidFill. |
void |
setColor(Color col)
Set the
Color used to paint the inner SolidFill. |
void |
setOpacity(double d)
Set the
Color used to paint the inner SolidFill. |
public SolidFill getFill()
ConstantSolidFillSolidFill associated to this legend.getFill in interface ConstantSolidFillgetFill in interface FillLegendpublic Color getColor()
ConstantSolidFillColor used to paint the inner SolidFill.getColor in interface ConstantSolidFillpublic void setColor(Color col)
ConstantSolidFillColor used to paint the inner SolidFill.setColor in interface ConstantSolidFillpublic double getOpacity()
ConstantSolidFillColor used to paint the inner SolidFill.getOpacity in interface ConstantSolidFillpublic void setOpacity(double d)
ConstantSolidFillColor used to paint the inner SolidFill.setOpacity in interface ConstantSolidFillCopyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.