IImageBrush Interface
Not client implementable.
Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.
Paints an area with an IBitmap.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
[NotClientImplementableAttribute]
public interface IImageBrush : ITileBrush,
IBrush
<NotClientImplementableAttribute>
Public Interface IImageBrush
Inherits ITileBrush, IBrush
[<NotClientImplementableAttribute>]
type IImageBrush =
interface
interface ITileBrush
interface IBrush
end
Implements | IBrush, ITileBrush |
Properties
AlignmentX | Gets the horizontal alignment of a tile in the destination. (Inherited from ITileBrush) |
AlignmentY | Gets the horizontal alignment of a tile in the destination. (Inherited from ITileBrush) |
DestinationRect | Gets the rectangle on the destination in which to paint a tile. (Inherited from ITileBrush) |
Opacity | Gets the opacity of the brush. (Inherited from IBrush) |
Source | Gets the image to draw. |
SourceRect | Gets the rectangle of the source image that will be displayed. (Inherited from ITileBrush) |
Stretch | Gets a value indicating how the source rectangle will be stretched to fill the destination rect. (Inherited from ITileBrush) |
TileMode | Gets the brush's tile mode. (Inherited from ITileBrush) |
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) |