SVG Icon | |
Type | widget |
Dictionary | widget.svgpath |
Library | SVG Icon |
Associations | com.livecode.widget.svgpath |
Summary | This widget displays an SVG path as an icon. It has a default state and a "highlighted" state. |
Description | This widget displays an SVG path as an icon. It has a default state and a "highlighted" state. |
Type | Name | Summary | Syntax |
---|---|---|---|
property | angle | The angle of rotation of the SVG path, in degrees clockwise. | set the angle of <widget> to <pAngle> get the angle of <widget> |
- - - | fillRule | The fill rule to be used when rendering the SVG path. | set the fillRule of <widget> to <pRule> get the fillRule of <widget> |
- - - | flipped |
| set the flipped of <widget> to {true|false} get the flipped of <widget> |
- - - | highlight |
| set the highlight of <widget> to {true|false} get the highlight of <widget> |
- - - | iconName | The name of the currently chosen icon. | get the iconName of <widget> |
- - - | iconPath | The path data displayed by the SVG path widget. | set the iconPath of <widget> to <pSVGPath> get the iconPath of <widget> |
- - - | iconPresetName | A predefined SVG icon path names. | set the iconPresetName of <widget> to <pIconName> get the iconPresetName of <widget> |
- - - | maintainAspectRatio | Whether the SVG path maintains its aspect ratio when resized. | set the maintainAspectRatio of <widget> to {true|false} get the maintainAspectRatio of <widget> |
- - - | scaledHeight | The height of the bounding rect of the SVG path, in fractional pixels. | get the scaledHeight of <widget> |
- - - | scaledWidth | The width of the bounding rect of the SVG path, in fractional pixels. | get the scaledWidth of <widget> |
widget | SVG Icon | This widget displays an SVG path as an icon. It has a default state and a "highlighted" state. | get the scaledWidth of <widget> |