Skip to main content

ImmutableSolidColorBrush Class

Fills an area with a solid color.

Definition

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

public class ImmutableSolidColorBrush : IImmutableSolidColorBrush, 
ISolidColorBrush, IBrush, IImmutableBrush, IEquatable<ImmutableSolidColorBrush>
View Source
InheritanceObject → ImmutableSolidColorBrush
ImplementsIBrush, IImmutableBrush, IImmutableSolidColorBrush, ISolidColorBrush, IEquatable(ImmutableSolidColorBrush)

Constructors

ImmutableSolidColorBrush(ISolidColorBrush)Initializes a new instance of the ImmutableSolidColorBrush class.
ImmutableSolidColorBrush(UInt32)Initializes a new instance of the ImmutableSolidColorBrush class.
ImmutableSolidColorBrush(Color, Double, ImmutableTransform)Initializes a new instance of the ImmutableSolidColorBrush class.

Properties

ColorGets the color of the brush.
OpacityGets the opacity of the brush.
TransformGets the transform of the brush.
TransformOriginGets the transform origin of the brush

Methods

Equals(ImmutableSolidColorBrush) 
Equals(Object)
(Overrides Object.Equals(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()
(Overrides Object.GetHashCode())
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 representation of the brush.
(Overrides Object.ToString())

Operators

Equality(ImmutableSolidColorBrush, ImmutableSolidColorBrush) 
Inequality(ImmutableSolidColorBrush, ImmutableSolidColorBrush) 

Extension Methods

ToImmutable()Converts a brush to an immutable brush.
(Defined by BrushExtensions)

See Also

Reference

Avalonia.Media.Immutable Namespace