ITileBrush Interface

Summary

A brush which displays a repeating image.
graph BT Type-.->Interface0["IBrush"] click Interface0 "/api/Avalonia.Media/IBrush" Type["ITileBrush"] class Type type-node Implementing0["IImageBrush"]-.->Type click Implementing0 "/api/Avalonia.Media/IImageBrush" Implementing1["ImageBrush"]-.->Type click Implementing1 "/api/Avalonia.Media/ImageBrush" Implementing2["ImmutableTileBrush"]-.->Type click Implementing2 "/api/Avalonia.Media.Immutable/ImmutableTileBrush" Implementing3["TileBrush"]-.->Type click Implementing3 "/api/Avalonia.Media/TileBrush" Implementing4["VisualBrush"]-.->Type click Implementing4 "/api/Avalonia.Media/VisualBrush" Implementing5["IVisualBrush"]-.->Type click Implementing5 "/api/Avalonia.Media/IVisualBrush"

Syntax

public interface ITileBrush : IBrush

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.
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.