Canvas.tagItemNear

Tag an item nearest to coordinates. If more than one item is at the same closest distance (e.g. two items overlap the point), then the top-most of these items (the last one in the display list) is used. If radius is specified, then it must be a non-negative value. Any item closer than halo to the point is considered to overlap it.

class Canvas
tagItemNear
(
this T
)
(
string tag
,
int xPos
,
int yPos
,
uint radius = 0
)

Parameters

tag string

The tag to add.

xPos int

The horizontal position.

yPos int

The vertical position.

radius uint

The radius around the point.

Return Value

Type: auto

This widget to aid method chaining.

Meta