IRadialGradientBrush Interface

Summary

Paints an area with a radial gradient.
graph BT Type-.->Interface0["IGradientBrush"] click Interface0 "/api/Avalonia.Media/IGradientBrush" Type-.->Interface1["IBrush"] click Interface1 "/api/Avalonia.Media/IBrush" Type["IRadialGradientBrush"] class Type type-node Implementing0["ImmutableRadialGradientBrush"]-.->Type click Implementing0 "/api/Avalonia.Media.Immutable/ImmutableRadialGradientBrush" Implementing1["RadialGradientBrush"]-.->Type click Implementing1 "/api/Avalonia.Media/RadialGradientBrush"

Syntax

public interface IRadialGradientBrush : IGradientBrush, IBrush

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.
Radius double
Gets the horizontal and vertical radius of the outermost circle of the radial gradient.

Extension Methods

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