PointerEvents Enum

PointerEvents enumeration

Specifies how pointer events are handled by graphical elements in SVG.

public enum PointerEvents

Values

NameValueDescription
BoundingBox0Pointer events are targeted at the bounding box of the element.
VisiblePainted1Pointer events are targeted only at the visible (painted) parts of the element.
VisibleFill2Pointer events are targeted only at the visible (filled) parts of the element.
VisibleStroke3Pointer events are targeted only at the visible (stroked) parts of the element.
Visible4Pointer events are targeted at all visible parts of the element.
Painted5Pointer events are targeted at all painted parts of the element, including fill and stroke.
Fill6Pointer events are targeted only at the filled parts of the element.
Stroke7Pointer events are targeted only at the stroked parts of the element.
All8Pointer events are targeted at all parts of the element, regardless of visibility.
None9The element does not become the target of pointer events.

See Also