ImageFill Class

A Brush that fills a Shape with an image.

It works almost identically to Image, but is a Brush and can therefore not be used as a standalone element.

Example

The following example will fill a Circle with an image loaded from the file Portrait.png:

<Circle Width="160" Height="160">
    <ImageFill File="Portrait.png" />
</Circle>

Location

Namespace
Fuse.Drawing
Package
Fuse.Elements 1.4.0

Interface of ImageFill

Inherited from DynamicBrush

Inherited from Brush

Inherited from PropertyObject

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.