ImmutableTileBrush.

ImmutableTileBrush(AlignmentX, AlignmentY, RelativeRect, double, RelativeRect, Stretch, TileMode, BitmapInterpolationMode) Constructor

Summary

Initializes a new instance of the ImageBrush class.
Namespace
Avalonia.Media.Immutable
Containing Type
ImmutableTileBrush

Syntax

protected ImmutableTileBrush(AlignmentX alignmentX, AlignmentY alignmentY, RelativeRect destinationRect, double opacity, RelativeRect sourceRect, Stretch stretch, TileMode tileMode, BitmapInterpolationMode bitmapInterpolationMode)

Parameters

Name Type Description
alignmentX AlignmentX The horizontal alignment of a tile in the destination.
alignmentY AlignmentY The vertical alignment of a tile in the destination.
destinationRect RelativeRect The rectangle on the destination in which to paint a tile.
opacity double The opacity of the brush.
sourceRect RelativeRect The rectangle of the source image that will be displayed.
stretch Stretch How the source rectangle will be stretched to fill the destination rect.
tileMode TileMode The tile mode.
bitmapInterpolationMode BitmapInterpolationMode The bitmap interpolation mode.

Return Value

Type Description
void