ImmutableTileBrush Class

Summary

A brush which displays a repeating image.
Namespace
Avalonia.Media.Immutable
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["ITileBrush"] click Interface0 "/api/Avalonia.Media/ITileBrush" Type-.->Interface1["IBrush"] click Interface1 "/api/Avalonia.Media/IBrush" Type["ImmutableTileBrush"] class Type type-node

Syntax

public abstract class ImmutableTileBrush : ITileBrush, IBrush

Constructors

Properties

Name Value Summary
AlignmentX AlignmentX
Gets the horizontal alignment of a tile in the destination.
AlignmentY AlignmentY
Gets the horizontal alignment of a tile in the destination.
BitmapInterpolationMode BitmapInterpolationMode
Gets the bitmap interpolation mode.
DestinationRect RelativeRect
Gets the rectangle on the destination in which to paint a tile.
Opacity double
Gets the opacity of the brush.
SourceRect RelativeRect
Gets the rectangle of the source image that will be displayed.
Stretch Stretch
Gets a value indicating how the source rectangle will be stretched to fill the destination rect.
TileMode TileMode
Gets the brush's tile mode.

Extension Methods

Name Value Summary
ToImmutable() IBrush
Converts a brush to an immutable brush.