public final class LegendHitBoxItem extends SizeItem
Modifier and Type | Method and Description |
---|---|
int |
getLeft()
Returns the padding left in pixel.
|
int |
getTop()
Returns the padding top in pixel.
|
boolean |
isInside(BaseNativeEvent event)
Returns
true if the chart event is inside of this box, otherwise false . |
checkValue, empty, getArrayValue, getNativeChart, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public int getLeft()
UndefinedValues.INTEGER
.public int getTop()
UndefinedValues.INTEGER
.public boolean isInside(BaseNativeEvent event)
true
if the chart event is inside of this box, otherwise false
.event
- event to check if inside the boxtrue
if the chart event is inside of this box, otherwise false