Class: SvgElement

olympe.ui.vectorial. SvgElement


<abstract> new SvgElement(uiProxy)

Creates a SvgElement.

Parameters:
Name Type Description
uiProxy olympe.df.Proxy.<olympe.uiapi.vectorial.SvgElement> | olympe.uiapi.vectorial.SvgElement

Extends

  • olympe.ui.UIElement

Methods


<protected> getUIProxySvgElement()

Returns:
Type
olympe.uiapi.vectorial.SvgElement

isHidden()

Returns:
Type
olympe.df.POBoolean

setHidden(hidden)

Parameters:
Name Type Description
hidden olympe.df.OBoolean | boolean | olympe.df.Proxy | olympe.df.Node

True if content must be hidden, false otherwise

Returns:
Type
olympe.ui.vectorial.SvgElement

setIgnoreUserInteraction( [ignore])

Disables mouse events for this element. However, mouse events will target its descendants unless they are manually set to also ignore user interactions.

Parameters:
Name Type Argument Default Description
ignore boolean <optional>
false

ignore If true, this element is never the target of mouse events (but not its descendants).