public static class ZoneSpec.LegendSpec
extends java.lang.Object
Constructor | Description |
---|---|
LegendSpec(boolean hasBorder,
boolean isOpaque,
float[] legPos) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
float[] |
getPosition() |
Returns fractional legend position.
|
boolean |
hasBorder() |
Returns border flag.
|
boolean |
isOpaque() |
Returns legend opacity.
|
public LegendSpec(boolean hasBorder, boolean isOpaque, float[] legPos)
hasBorder
- true if border is to be drawnisOpaque
- true for opaque backgroundlegPos
- 2-element x,y array for fractional internal
legend position, null for externalpublic boolean hasBorder()
public boolean isOpaque()
public float[] getPosition()
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.