Skip to main content

ImmutableRadialGradientBrush Class

A brush that draws with a radial gradient.

Definition

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

public class ImmutableRadialGradientBrush : ImmutableGradientBrush, 
IRadialGradientBrush, IGradientBrush, IBrush
View Source
InheritanceObjectImmutableGradientBrush → ImmutableRadialGradientBrush
ImplementsIBrush, IGradientBrush, IRadialGradientBrush

Constructors

ImmutableRadialGradientBrush(RadialGradientBrush)Initializes a new instance of the ImmutableRadialGradientBrush class.
ImmutableRadialGradientBrush(IReadOnlyList(ImmutableGradientStop), Double, ImmutableTransform, Nullable(RelativePoint), GradientSpreadMethod, Nullable(RelativePoint), Nullable(RelativePoint), Double)Initializes a new instance of the ImmutableRadialGradientBrush class.
ImmutableRadialGradientBrush(IReadOnlyList(ImmutableGradientStop), Double, ImmutableTransform, Nullable(RelativePoint), GradientSpreadMethod, Nullable(RelativePoint), Nullable(RelativePoint), Nullable(RelativeScalar), Nullable(RelativeScalar))Initializes a new instance of the ImmutableRadialGradientBrush class

Properties

CenterGets the start point for the gradient.
GradientOriginGets the location of the two-dimensional focal point that defines the beginning of the gradient.
GradientStopsGets the brush's gradient stops.
(Inherited from ImmutableGradientBrush)
OpacityGets the opacity of the brush.
(Inherited from ImmutableGradientBrush)
Radius
Obsolete.
RadiusXGets the horizontal radius of the outermost circle of the radial gradient.
RadiusYGets the vertical radius of the outermost circle of the radial gradient.
SpreadMethodGets the brush's spread method that defines how to draw a gradient that doesn't fill the bounds of the destination control.
(Inherited from ImmutableGradientBrush)
TransformGets the transform of the brush.
(Inherited from ImmutableGradientBrush)
TransformOriginGets the transform origin of the brush
(Inherited from ImmutableGradientBrush)

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