Skip to main content

ImageBrush Class

NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Media

A brush that paints a region with an image.

public sealed class ImageBrush : Brush

Constructors​

ImageBrush(ImageSource imagesource)​

public ImageBrush(ImageSource imagesource)

Creates a brush that paints with the given image.

Fields​

ImageSource​

public ImageSource ImageSource

The image painted by the brush.

Stretch​

public Stretch Stretch

How the image is stretched to fill the region.