public static class TrimmingSpec.LegendSpec extends Object
Constructor and Description |
---|
LegendSpec(boolean hasBorder,
boolean isOpaque,
float[] legPos)
Constructor.
|
Modifier and Type | Method and 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 © 2024 Central Laboratory of the Research Councils. All Rights Reserved.