Skip to main content

ITileBrush Interface

Not client implementable.

Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.

A brush which displays a repeating image.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

[NotClientImplementableAttribute]
public interface ITileBrush : IBrush
View Source
ImplementsIBrush

Properties

AlignmentXGets the horizontal alignment of a tile in the destination.
AlignmentYGets the horizontal alignment of a tile in the destination.
DestinationRectGets the rectangle on the destination in which to paint a tile.
OpacityGets the opacity of the brush.
(Inherited from IBrush)
SourceRectGets the rectangle of the source image that will be displayed.
StretchGets a value indicating how the source rectangle will be stretched to fill the destination rect.
TileModeGets the brush's tile mode.
TransformGets the transform of the brush.
(Inherited from IBrush)
TransformOriginGets the origin of the brushes Transform
(Inherited from IBrush)

Extension Methods

ToImmutable()Converts a brush to an immutable brush.
(Defined by BrushExtensions)

See Also

Reference

Avalonia.Media Namespace