public final class LegendHitBoxItem extends SizeItem
Modifier and Type | Method and Description |
---|---|
double |
getLeft()
Returns the padding left in pixel.
|
double |
getTop()
Returns the padding top in pixel.
|
boolean |
isInside(BaseNativeEvent event)
Returns
true if the chart event is inside of this box, otherwise false . |
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, 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, setValueOrArray, toJSON, type
public double getLeft()
public double getTop()
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