Summary
Base class for brushes which display repeating images.
- Namespace
- Avalonia
.Media - Interfaces
-
- IAvaloniaObject
- IAvaloniaObjectDebug
- I
Notify Property Changed - IValueSink
- IMutableBrush
- IAffectsRender
- ITileBrush
- IBrush
- Base Types
-
- object
- AvaloniaObject
- Animatable
- Brush
- Derived Types
graph BT
Type-->Base0["Brush"]
click Base0 "/api/Avalonia.Media/Brush"
Base0-->Base1["Animatable"]
click Base1 "/api/Avalonia.Animation/Animatable"
Base1-->Base2["AvaloniaObject"]
click Base2 "/api/Avalonia/AvaloniaObject"
Base2-->Base3["object"]
Type-.->Interface0["IAvaloniaObject"]
click Interface0 "/api/Avalonia/IAvaloniaObject"
Type-.->Interface1["IAvaloniaObjectDebug"]
click Interface1 "/api/Avalonia.Diagnostics/IAvaloniaObjectDebug"
Type-.->Interface2["INotifyPropertyChanged"]
Type-.->Interface3["IValueSink"]
Type-.->Interface4["IMutableBrush"]
click Interface4 "/api/Avalonia.Media/IMutableBrush"
Type-.->Interface5["IAffectsRender"]
click Interface5 "/api/Avalonia.Media/IAffectsRender"
Type-.->Interface6["ITileBrush"]
click Interface6 "/api/Avalonia.Media/ITileBrush"
Type-.->Interface7["IBrush"]
click Interface7 "/api/Avalonia.Media/IBrush"
Type["TileBrush"]
class Type type-node
Derived0["VisualBrush"]-->Type
click Derived0 "/api/Avalonia.Media/VisualBrush"
Derived1["ImageBrush"]-->Type
click Derived1 "/api/Avalonia.Media/ImageBrush"
Syntax
public abstract class TileBrush : Brush, IAvaloniaObject, IAvaloniaObjectDebug,
INotifyPropertyChanged, IValueSink, IMutableBrush, IAffectsRender, ITileBrush, IBrush
Events
Name | Type | Summary |
---|---|---|
Invalidated | EventHandler |
Raised when the resource changes visually.
Inherited from Brush
|
PropertyChanged | EventHandler |
Raised when a
AvaloniaProperty value changes on this object.
Inherited from AvaloniaObject
|
Fields
Name | Constant Value | Summary |
---|---|---|
AlignmentXProperty |
Defines the
AlignmentX property.
static
|
|
AlignmentYProperty |
Defines the
AlignmentY property.
static
|
|
ClockProperty |
Defines the
Clock property.
Inherited from Animatable
static
|
|
Destination |
Defines the
DestinationRect property.
static
|
|
OpacityProperty |
Defines the
Opacity property.
Inherited from Brush
static
|
|
SourceRectProperty |
Defines the
SourceRect property.
static
|
|
StretchProperty |
Defines the
Stretch property.
static
|
|
TileModeProperty |
Defines the
TileMode property.
static
|
|
TransitionsProperty |
Defines the
Transitions property.
Inherited from Animatable
static
|
Properties
Name | Value | Summary |
---|---|---|
AlignmentX | AlignmentX |
Gets or sets the horizontal alignment of a tile in the destination.
|
AlignmentY | AlignmentY |
Gets or sets the horizontal alignment of a tile in the destination.
|
Bitmap |
Bitmap |
Gets or sets the bitmap interpolation mode.
|
Clock | IClock |
Gets or sets the clock which controls the animations on the control.
Inherited from Animatable
|
DestinationRect | RelativeRect |
Gets or sets the rectangle on the destination in which to paint a tile.
|
InheritanceParent | IAvaloniaObject |
Gets or sets the parent object that inherited
AvaloniaProperty values
are inherited from.
Inherited from AvaloniaObject
|
Opacity | double |
Gets or sets the opacity of the brush.
Inherited from Brush
|
SourceRect | RelativeRect |
Gets or sets the rectangle of the source image that will be displayed.
|
Stretch | Stretch |
Gets or sets a value controlling how the source rectangle will be stretched to fill
the destination rect.
|
this[ |
object |
Gets or sets the value of a
AvaloniaProperty .
Inherited from AvaloniaObject
|
this[ |
IBinding |
Gets or sets a binding for a
AvaloniaProperty .
Inherited from AvaloniaObject
|
TileMode | TileMode |
Gets or sets the brush's tile mode.
|
Transitions | Transitions? |
Gets or sets the property transitions for the control.
Inherited from Animatable
|