ImmutableRadialGradientBrush Class

Summary

A brush that draws with a radial gradient.
graph BT Type-->Base0["ImmutableGradientBrush"] click Base0 "/api/Avalonia.Media.Immutable/ImmutableGradientBrush" Base0-->Base1["object"] Type-.->Interface0["IRadialGradientBrush"] click Interface0 "/api/Avalonia.Media/IRadialGradientBrush" Type-.->Interface1["IGradientBrush"] click Interface1 "/api/Avalonia.Media/IGradientBrush" Type-.->Interface2["IBrush"] click Interface2 "/api/Avalonia.Media/IBrush" Type["ImmutableRadialGradientBrush"] class Type type-node

Syntax

public class ImmutableRadialGradientBrush : ImmutableGradientBrush, IRadialGradientBrush, 
    IGradientBrush, IBrush

Constructors

Properties

Name Value Summary
Center RelativePoint
Gets the start point for the gradient.
GradientOrigin RelativePoint
Gets the location of the two-dimensional focal point that defines the beginning of the gradient.
GradientStops IReadOnlyList<IGradientStop>
Gets the brush's gradient stops.
Inherited from ImmutableGradientBrush
Opacity double
Gets the opacity of the brush.
Inherited from ImmutableGradientBrush
Radius double
Gets the horizontal and vertical radius of the outermost circle of the radial gradient.
SpreadMethod GradientSpreadMethod
Gets 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

Extension Methods

Name Value Summary
ToImmutable() IBrush
Converts a brush to an immutable brush.