Skip to main content

iconPath

Type​

property

Summary​

The path data displayed by the widget as icon when the button is in its normal state.

Syntax​

set the iconPath of widget to <SVGPath>
get the iconPath of widget

Description​

Use the iconPath property to specify the path data displayed by the widget as icon when the button is in its normal state.

By setting this property the value of icon will be ignored.

Examples​

set the iconPath of widget "Button" to "M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z"

Compatibility and Support​

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile