ImmutableSolidColorBrush Class
Fills an area with a solid color.
Definition
Namespace: Avalonia.Media.Immutable
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public class ImmutableSolidColorBrush : IImmutableSolidColorBrush,
ISolidColorBrush, IBrush, IImmutableBrush, IEquatable<ImmutableSolidColorBrush>
Public Class ImmutableSolidColorBrush
Implements IImmutableSolidColorBrush, ISolidColorBrush, IBrush, IImmutableBrush,
IEquatable(Of ImmutableSolidColorBrush)
type ImmutableSolidColorBrush =
class
interface IImmutableSolidColorBrush
interface ISolidColorBrush
interface IBrush
interface IImmutableBrush
interface IEquatable<ImmutableSolidColorBrush>
end
Inheritance | Object → ImmutableSolidColorBrush |
Implements | IBrush, 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
Color | Gets the color of the brush. |
Opacity | Gets the opacity of the brush. |
Transform | Gets the transform of the brush. |
TransformOrigin | Gets 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) |