public class ConstantPenStrokeLegend extends ConstantColorAndDashesPSLegend implements ConstantPenStroke
PenStroke whose
parameters (width, fill and dash array) are all constant.| Constructor and Description |
|---|
ConstantPenStrokeLegend() |
ConstantPenStrokeLegend(PenStroke ps)
Build a new instance of
ConstantPenStrokeLegend. |
ConstantPenStrokeLegend(PenStroke ps,
RealLiteralLegend width,
ConstantFillLegend fill,
StringLiteralLegend dash)
Build a new instance of
ConstantPenStrokeLegend. |
| Modifier and Type | Method and Description |
|---|---|
ConstantSolidFill |
getFillLegend()
Gets the analysis obtained from the inner solid fill.
|
double |
getLineWidth()
Get the width of the associated
PenStroke. |
void |
setLineWidth(double width)
Set the width of the associated
PenStroke. |
getDashArray, getLineColor, getLineOpacity, setDashArray, setLineColor, setLineOpacitygetDashLegend, getFillAnalysis, getLineWidthLegend, getStroke, getStrokeUom, setDashLegend, setLineWidthLegend, setStrokeUomclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDashArray, getLineColor, getLineOpacity, getStrokeUom, setDashArray, setLineColor, setLineOpacity, setStrokeUomgetStrokepublic ConstantPenStrokeLegend(PenStroke ps)
ConstantPenStrokeLegend. Use at your own risk : if ps can't be recognize
as a ConstantPenStrokeLegend, you'll receive runtime exceptions...ps - ClassCastException - if some ps fields can't be recognize as valid parameters for this legend.public ConstantPenStrokeLegend()
public ConstantPenStrokeLegend(PenStroke ps, RealLiteralLegend width, ConstantFillLegend fill, StringLiteralLegend dash)
ConstantPenStrokeLegend.ps - width - fill - dash - public double getLineWidth()
PenStroke.getLineWidth in interface ConstantPenStrokepublic void setLineWidth(double width)
PenStroke.setLineWidth in interface ConstantPenStrokewidth - public ConstantSolidFill getFillLegend()
ConstantPenStrokegetFillLegend in interface ConstantPenStrokeCopyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.