IGradientBrush Interface
Not client implementable.
Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.
A brush that draws with a gradient.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
[NotClientImplementableAttribute]
public interface IGradientBrush : IBrush
<NotClientImplementableAttribute>
Public Interface IGradientBrush
Inherits IBrush
[<NotClientImplementableAttribute>]
type IGradientBrush =
interface
interface IBrush
end
Implements | IBrush |
Properties
GradientStops | Gets the brush's gradient stops. |
Opacity | Gets the opacity of the brush. (Inherited from IBrush) |
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. (Inherited from IBrush) |
TransformOrigin | Gets the origin of the brushes Transform (Inherited from IBrush) |
Extension Methods
ToImmutable() | Converts a brush to an immutable brush. (Defined by BrushExtensions) |