Specifies an image file as a data source to be displayed by an Image element.
The file pointed to by the
File property will be added to the app as a bundle file automatically.
This example displays an image from the file
<Image> <FileImageSource File="kitten.jpg" /> </Image>
When building your project, Fuse needs to know which files to bundle with the app. Since UX is statically compiled, it will automatically bundle files whose path is hard-coded in one of the UX files in your project.
Thus, we need to explicitly specify it as a bundle file in our
"Includes": [ "assets/kitten.jpg:Bundle" ]
- Fuse.Elements 1.11.2
Interface of FileImageSource
Specifies the source's pixel density.