ImmutableTileBrush Class
A brush which displays a repeating image.
Definition
Namespace: Avalonia.Media.Immutable
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public abstract class ImmutableTileBrush : ITileBrush,
IBrush, IImmutableBrush
Public MustInherit Class ImmutableTileBrush
Implements ITileBrush, IBrush, IImmutableBrush
[<AbstractClassAttribute>]
type ImmutableTileBrush =
class
interface ITileBrush
interface IBrush
interface IImmutableBrush
end
Inheritance | Object → ImmutableTileBrush |
Implements | IBrush, IImmutableBrush, ITileBrush |
Constructors
ImmutableTileBrush(ITileBrush) | Initializes a new instance of the ImageBrush class. |
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. |
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 |
Methods
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode() | Serves as the default hash function. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() | Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
ToImmutable() | Converts a brush to an immutable brush. (Defined by BrushExtensions) |