Skip to main content

ImmutableConicGradientBrush(IReadOnlyList<ImmutableGradientStop>, Double, ImmutableTransform, Nullable<RelativePoint>, GradientSpreadMethod, Nullable<RelativePoint>, Double) Constructor

Initializes a new instance of the ImmutableConicGradientBrush class.

Definition

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

public ImmutableConicGradientBrush(
IReadOnlyList<ImmutableGradientStop> gradientStops,
double opacity = 1,
ImmutableTransform? transform = null,
RelativePoint? transformOrigin = null,
GradientSpreadMethod spreadMethod = GradientSpreadMethod.Pad,
RelativePoint? center = null,
double angle = 0
)

Parameters

  IReadOnlyList(ImmutableGradientStop)
The gradient stops.
  Double  (Optional)
The opacity of the brush.
  ImmutableTransform  (Optional)
The transform of the brush.
  Nullable(RelativePoint)  (Optional)
The transform origin of the brush
  GradientSpreadMethod  (Optional)
The spread method.
  Nullable(RelativePoint)  (Optional)
The center point for the gradient.
  Double  (Optional)
The starting angle for the gradient.

See Also

Reference

ImmutableConicGradientBrush Class
ImmutableConicGradientBrush Overload
Avalonia.Media.Immutable Namespace