public final class ScaleLimit extends ScaleRange
ZoomPlugin.ID configuration in order to set minimum and maximum values of the scales for pan or zoom.| Modifier and Type | Method and Description |
|---|---|
default double |
getMax()
Returns the maximum value of range as double.
|
default double |
getMin()
Returns the minimum value of range as double.
|
double |
getMinRange()
Returns the minimum allowed range.
This defines the max zoom level. |
void |
setMinRange(double min)
Sets the minimum allowed range.
This defines the max zoom level. |
getMax, getMin, setMax, setMincheckDefaultValuesArgument, empty, getArrayValue, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typepublic void setMinRange(double min)
min - the minimum allowed range.public double getMinRange()
public double getMin()
public double getMax()