Tooltip
@Serializable
Tooltip holds the properties of values when adding tooltips containing arbitrary HTML
Constructors
Link copied to clipboard
constructor(collisionRank: MPIOptions.COLLISION_RANK? = null, interactive: Boolean? = false, padding: Double? = null, enabledAnchorTypes: MPIOptions.TooltipAnchor? = null, defaultAnchorType: String? = null)
Properties
Link copied to clipboard
The rank of the object used when comparing colliders to determine which should be shown.
Link copied to clipboard
The default(starting) orientation to place the tooltip. This describes the position of the tooltip relative to the node or coordinate to which it is attached. The possible anchor types are top
, bottom
, left
, right
, topLeft
, topRight
, bottomLeft
, and bottomRight
.
Link copied to clipboard
An object used to disable certain anchor positions from being used.
Link copied to clipboard
Whether the Tooltip should be clickable and included in MPIMapClickEvent events