Skip to main content

ImmutableTileBrush Class

A brush which displays a repeating image.

Definition

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

public abstract class ImmutableTileBrush : ITileBrush, 
IBrush, IImmutableBrush
View Source
InheritanceObject → ImmutableTileBrush
ImplementsIBrush, IImmutableBrush, ITileBrush

Constructors

ImmutableTileBrush(ITileBrush)Initializes a new instance of the ImageBrush class.

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.
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.
TransformOriginGets 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)

See Also

Reference

Avalonia.Media.Immutable Namespace