Skip to main content

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

Initializes a new instance of the ImmutableRadialGradientBrush class

Definition

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

public ImmutableRadialGradientBrush(
IReadOnlyList<ImmutableGradientStop> gradientStops,
double opacity = 1,
ImmutableTransform? transform = null,
RelativePoint? transformOrigin = null,
GradientSpreadMethod spreadMethod = GradientSpreadMethod.Pad,
RelativePoint? center = null,
RelativePoint? gradientOrigin = null,
RelativeScalar? radiusX = null,
RelativeScalar? radiusY = null
)

Parameters

  IReadOnlyList(ImmutableGradientStop)
 
  Double  (Optional)
 
  ImmutableTransform  (Optional)
 
  Nullable(RelativePoint)  (Optional)
 
  GradientSpreadMethod  (Optional)
 
  Nullable(RelativePoint)  (Optional)
 
  Nullable(RelativePoint)  (Optional)
 
  Nullable(RelativeScalar)  (Optional)
 
  Nullable(RelativeScalar)  (Optional)
 

See Also

Reference

ImmutableRadialGradientBrush Class
ImmutableRadialGradientBrush Overload
Avalonia.Media.Immutable Namespace