Table of Contents

Interface ITileBrush

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll

A brush which displays a repeating image.

[NotClientImplementable]
public interface ITileBrush : IBrush
Inherited Members
Extension Methods

Properties

AlignmentX

Gets the horizontal alignment of a tile in the destination.

AlignmentX AlignmentX { get; }

Property Value

AlignmentX

AlignmentY

Gets the horizontal alignment of a tile in the destination.

AlignmentY AlignmentY { get; }

Property Value

AlignmentY

DestinationRect

Gets the rectangle on the destination in which to paint a tile.

RelativeRect DestinationRect { get; }

Property Value

RelativeRect

SourceRect

Gets the rectangle of the source image that will be displayed.

RelativeRect SourceRect { get; }

Property Value

RelativeRect

Stretch

Gets a value indicating how the source rectangle will be stretched to fill the destination rect.

Stretch Stretch { get; }

Property Value

Stretch

TileMode

Gets the brush's tile mode.

TileMode TileMode { get; }

Property Value

TileMode