ImageFill Class
Fully covers a Shape (such as a Card, Circle or Rectangle) with an image.
This is simply an ImageFill with StretchMode="UniformToFill"
and is included for convenience.
<Alive.Card>
<Alive.ImageFill File="Assets/image.jpg" />
</Alive.Card>
Location
- Namespace
- Alive
- Package
- Fuse.UXKits.Alive 2.9.1
Interface of ImageFill
Inherited from ImageFill
_tempTexture : framebuffer uno
AutoLoad : bool ux
Auto fetch and display the image data from the network or disk. The default value is true
.
To enable lazy load of the image set this AutoLoad
value to false
, and then the later on set it to true
to load the image.
You can also use the LoadImage
trigger action to fetch the Image.
Color : float4 ux
ContentAlignment : Alignment ux
Density : float ux
File : FileSource ux
GetDrawParams(DrawContext, float2) : DrawParams uno
IsLoaded : bool uno
get the information of the image fetch status
Load uno
Load the image from Url or Disk
MemoryPolicy : MemoryPolicy ux
Reload uno
Reload the image from Url or Disk