ImmutableTileBrush Class
Definition
A brush which displays a repeating image.
public class ImmutableTileBrush
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. |
| Opacity | Gets the opacity of the brush. |
| 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. |
| Transform | Gets the transform of the brush. |
| TransformOrigin | Gets 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; }