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)
- C#
- VB
- F#
[NotClientImplementableAttribute]
public interface ITileBrush : IBrush
<NotClientImplementableAttribute>
Public Interface ITileBrush
Inherits IBrush
[<NotClientImplementableAttribute>]
type ITileBrush =
interface
interface IBrush
end
Implements | IBrush |
Properties
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. (Inherited from IBrush) |
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. (Inherited from IBrush) |
TransformOrigin | Gets the origin of the brushes Transform (Inherited from IBrush) |
Extension Methods
ToImmutable() | Converts a brush to an immutable brush. (Defined by BrushExtensions) |