Skip to main content

ImmutableTileBrush Class

Definition

Assembly:Avalonia.Base
Package:Avalonia

A brush which displays a repeating image.

public class ImmutableTileBrush

Inheritance: object -> ImmutableTileBrush

Properties

NameDescription
AlignmentXGets the horizontal alignment of a tile in the destination.
AlignmentYGets the horizontal alignment of a tile in the destination.
DestinationRectGets the rectangle on the destination in which to paint a tile.
OpacityGets the opacity of the brush.
SourceRectGets the rectangle of the source image that will be displayed.
StretchGets a value indicating how the source rectangle will be stretched to fill the destination rect.
TileModeGets the brush's tile mode.
TransformGets the transform of the brush.
TransformOriginGets the transform origin of the brush

AlignmentX Property

Gets the horizontal alignment of a tile in the destination.

public Avalonia.Media.AlignmentX AlignmentX { get; set; }

AlignmentY Property

Gets the horizontal alignment of a tile in the destination.

public Avalonia.Media.AlignmentY AlignmentY { get; set; }

DestinationRect Property

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

public Avalonia.RelativeRect DestinationRect { get; set; }

Opacity Property

Gets the opacity of the brush.

public double Opacity { get; set; }

SourceRect Property

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

public Avalonia.RelativeRect SourceRect { get; set; }

Stretch Property

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

public Avalonia.Media.Stretch Stretch { get; set; }

TileMode Property

Gets the brush's tile mode.

public Avalonia.Media.TileMode TileMode { get; set; }

Transform Property

Gets the transform of the brush.

public Avalonia.Media.ITransform Transform { get; set; }

TransformOrigin Property

Gets the transform origin of the brush

public Avalonia.RelativePoint TransformOrigin { get; set; }