public class SolidFillLegend extends Object implements FillLegend
LegendStructure representation of a SolidFill. The analysis can mainly
be made on the color, for a SolidFill.
SolidFill should be monovariate elements : we should only
play with the color, not with the opacity.
| Constructor and Description |
|---|
SolidFillLegend(SolidFill fill,
LegendStructure colorLegend,
LegendStructure rll)
Build a
SolidFillLegend using the Fill and LegendStructure instances given in parameter. |
| Modifier and Type | Method and Description |
|---|---|
SolidFill |
getFill()
Get the
Fill that backs up this LegendStructure. |
LegendStructure |
getFillColorLegend()
Retrieve the
LegendStructure that is associated to the color of the
inner Fill |
LegendStructure |
getFillOpacityLegend()
Gets the opacity associated to the inner
SolidFill. |
public SolidFillLegend(SolidFill fill, LegendStructure colorLegend, LegendStructure rll)
SolidFillLegend using the Fill and LegendStructure instances given in parameter.fill - colorLegend - public LegendStructure getFillColorLegend()
LegendStructure that is associated to the color of the
inner Fillpublic LegendStructure getFillOpacityLegend()
SolidFill. As we don't recognize analysis madeon the opacity
field of the SolidFill instances, we know that we won't be able to build SolidfillLegend with an opacity that can't be
recognized as a RealLiteralLegend.public SolidFill getFill()
Fill that backs up this LegendStructure.getFill in interface FillLegendCopyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.