core
/
io.data2viz.charts.core
/
Zone
common
Zone
interface
Zone
Content copied to clipboard
A
Zone
represents a simple shape that indicates this screen zone can interact with user.
Functions
Properties
See also
Inheritors
See also
CircleZone
EventZone
Mark.getEventZones
RectZone
Functions
contains
Link copied to clipboard
common
abstract fun
contains
(point:
Point
):
Boolean
Content copied to clipboard
Does this
Zone
contains the given
Point
?
getAnchorPoint
Link copied to clipboard
common
abstract fun
getAnchorPoint
(layoutPosition:
LayoutPosition
):
Point
Content copied to clipboard
Define an "anchor point" at the given
LayoutPosition
, useful to place labels or tooltips over a
Zone
.
Properties
bounds
Link copied to clipboard
common
abstract val
bounds
:
Rect
Content copied to clipboard
The bounds of this
Zone
as a
Rect
.
center
Link copied to clipboard
common
abstract val
center
:
Point
Content copied to clipboard
The geometric center coordinates of this
Zone
.
Inheritors
CircleZone
Link copied to clipboard
RectZone
Link copied to clipboard