SvgShape

SvgShape class

Represents options for SVG shape.

getId

NameDescription
getId ()Gets shape id

Returns: String


setEventHandler

NameDescription
setEventHandler (int, String)Sets event handler for the shape

Parameters:

NameTypeDescription
eventTypeintType of event.
handlerStringJavascript function to handle event. Null value removes handler.

Returns: void


setId

NameDescription
setId (String)Gets shape id

Returns: void