ImmutableConicGradientBrush Class
A brush that draws with a sweep gradient.
Definition
Namespace: Avalonia.Media.Immutable
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public class ImmutableConicGradientBrush : ImmutableGradientBrush,
IConicGradientBrush, IGradientBrush, IBrush
Public Class ImmutableConicGradientBrush
Inherits ImmutableGradientBrush
Implements IConicGradientBrush, IGradientBrush, IBrush
type ImmutableConicGradientBrush =
class
inherit ImmutableGradientBrush
interface IConicGradientBrush
interface IGradientBrush
interface IBrush
end
Inheritance | Object → ImmutableGradientBrush → ImmutableConicGradientBrush |
Implements | IBrush, IConicGradientBrush, IGradientBrush |
Constructors
ImmutableConicGradientBrush(ConicGradientBrush) | Initializes a new instance of the ImmutableConicGradientBrush class. |
ImmutableConicGradientBrush(IReadOnlyList(ImmutableGradientStop), Double, ImmutableTransform, Nullable(RelativePoint), GradientSpreadMethod, Nullable(RelativePoint), Double) | Initializes a new instance of the ImmutableConicGradientBrush class. |
Properties
Angle | Gets the starting angle for the gradient in degrees, measured from the point above the center point. |
Center | Gets the center point for the gradient. |
GradientStops | Gets the brush's gradient stops. (Inherited from ImmutableGradientBrush) |
Opacity | Gets the opacity of the brush. (Inherited from ImmutableGradientBrush) |
SpreadMethod | Gets the brush's spread method that defines how to draw a gradient that doesn't fill the bounds of the destination control. (Inherited from ImmutableGradientBrush) |
Transform | Gets the transform of the brush. (Inherited from ImmutableGradientBrush) |
TransformOrigin | Gets the transform origin of the brush (Inherited from ImmutableGradientBrush) |
Methods
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode() | Serves as the default hash function. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() | Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
ToImmutable() | Converts a brush to an immutable brush. (Defined by BrushExtensions) |