SvgShape
SvgShape class
Represents options for SVG shape.
getId
Name | Description |
---|---|
getId () | Gets shape id |
Returns: String
setEventHandler
Name | Description |
---|---|
setEventHandler (int, String) | Sets event handler for the shape |
Parameters:
Name | Type | Description |
---|---|---|
eventType | int | Type of event. |
handler | String | Javascript function to handle event. Null value removes handler. |
Returns: void
setId
Name | Description |
---|---|
setId (String) | Gets shape id |
Returns: void