ITileBrush Interface
Definition
A brush which displays a repeating image.
public interface ITileBrush
Properties
| Name | Description |
|---|---|
| AlignmentX | Gets the horizontal alignment of a tile in the destination. |
| AlignmentY | Gets the horizontal alignment of a tile in the destination. |
| DestinationRect | Gets the rectangle on the destination in which to paint a tile. |
| SourceRect | Gets the rectangle of the source image that will be displayed. |
| Stretch | Gets a value indicating how the source rectangle will be stretched to fill the destination rect. |
| TileMode | Gets the brush's tile mode. |
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; }