Advanced SVG Image
Displays an SVG Tiny 1.2 image and makes it possible to change the properties of individual parts of the image at design time or at runtime
- BrowseName
- AdvancedSVGImage
- SuperType
- Container(Container)
Properties
Name | BrowseName | DataType | Description |
---|---|---|---|
Path | Path | ResourceUri | Path |
Fill Mode | FillMode | Fill mode | Fill mode of the image object (Fit: resize the image keeping the original aspect ratio, Stretch: resize the image by fitting the aspect ratio to the area of the image object) |
Hit test visible | HitTestVisible | Boolean | True: intercept user clicks. False: does not intercept user clicks, which are instead passed to the underlying object, based on the order on the Z axis |
Blink | Blink | Boolean | Allows the object to periodically blink, ignored when the object is not visible |
Colorization mode | ColorizationMode | Colorization mode | Set the colorization mode which will be used when applying the selected color to the image |
SVG Element Properties | SVGElementProperties | SVG Element Property | Add a property that changes an element of the SVG |
Move target | MoveTarget | NodeId | (Inherited from Container) |
Visible | Visible | Boolean | (Inherited from Element) |
Enabled | Enabled | Boolean | (Inherited from Element) |
Opacity | Opacity | Float | (Inherited from Element) |
Left margin | LeftMargin | Size | (Inherited from Element) |
Top margin | TopMargin | Size | (Inherited from Element) |
Right margin | RightMargin | Size | (Inherited from Element) |
Bottom margin | BottomMargin | Size | (Inherited from Element) |
Width | Width | Size | (Inherited from Element) |
Height | Height | Size | (Inherited from Element) |
Horizontal alignment | HorizontalAlignment | Horizontal alignment | (Inherited from Element) |
Vertical alignment | VerticalAlignment | Vertical alignment | (Inherited from Element) |
Rotation | Rotation | Size | (Inherited from Element) |
Methods
Set content of SVG image
- BrowseName
- SetImageContent
Allow access to elements of SVG XML to set content of SVG image
Name | DataType | Description |
---|---|---|
ImageContent | String | XML of SVG image |
Events
MouseDown event
- BrowseName
- MouseDown event
Event that is triggered when the left mouse button is pressed (falling edge)
MouseUp event
- BrowseName
- MouseUp event
Event that is triggered when the left mouse button is released (rising edge)