Table of Contents

Class RadialGradientBrush

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Paints an area with a radial gradient.

public class RadialGradientBrush : GradientBrush, IBaseObject, IDisposableObject, IDisposable, INotifyPropertyChanged, IEquatable<Brush>
Inheritance
RadialGradientBrush
Implements

Constructors

RadialGradientBrush()

Initializes a new instance of the RadialGradientBrush class.

RadialGradientBrush(Color, Color)

Initializes a new instance of the RadialGradientBrush class with the specified start color and end color.

RadialGradientBrush(GradientStop[])

Initializes a new instance of the RadialGradientBrush class that has the specified gradient stops.

RadialGradientBrush(PointD, double, GradientStop[])

Initializes a new instance of the RadialGradientBrush class that has the specified center, radius, and gradient stops.

RadialGradientBrush(PointD, double, PointD, GradientStop[])

Initializes a new instance of the RadialGradientBrush class that has the specified gradient stops, start point and end point.

Properties

BrushType

Gets type of the brush.

Center

Gets or sets the center of the outermost circle of the radial gradient.

GradientOrigin

Gets or sets the location of the two-dimensional focal point that defines the beginning of the gradient.

Radius

Gets or sets the radius of the outermost circle of the radial gradient.

Methods

CreateHandler()

Creates handler.

CreateSkiaShader()

Creates SKShader for this radial gradient brush.

Equals(object?)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Serves as the default hash function.

ToString()

Returns a string that represents the current object.

UpdateHandler()

Updates handler.