ImmutableGradientBrush Class
Definition
A brush that draws with a gradient.
public class ImmutableGradientBrush
Properties
| Name | Description |
|---|---|
| GradientStops | Gets the brush's gradient stops. |
| Opacity | Gets the opacity of the brush. |
| SpreadMethod | Gets the brush's spread method that defines how to draw a gradient that doesn't fill the bounds of the destination control. |
| Transform | Gets the transform of the brush. |
| TransformOrigin | Gets the transform origin of the brush |
GradientStops Property
Gets the brush's gradient stops.
public System.Collections.Generic.IReadOnlyList<Avalonia.Media.IGradientStop> GradientStops { get; set; }
Opacity Property
Gets the opacity of the brush.
public double Opacity { get; set; }
SpreadMethod Property
Gets the brush's spread method that defines how to draw a gradient that doesn't fill the bounds of the destination control.
public Avalonia.Media.GradientSpreadMethod SpreadMethod { get; set; }
Transform Property
Gets the transform of the brush.
public Avalonia.Media.ITransform Transform { get; set; }
TransformOrigin Property
Gets the transform origin of the brush
public Avalonia.RelativePoint TransformOrigin { get; set; }