RadialGradientPaint Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a radial gradient paint that transitions colors outward from a center point.
public ref class RadialGradientPaint : Microsoft::Maui::Graphics::GradientPaint
public class RadialGradientPaint : Microsoft.Maui.Graphics.GradientPaint
type RadialGradientPaint = class
inherit GradientPaint
Public Class RadialGradientPaint
Inherits GradientPaint
- Inheritance
Constructors
RadialGradientPaint() |
Initializes a new instance of the RadialGradientPaint class with default center (0.5,0.5) and radius 0.5. |
RadialGradientPaint(GradientPaint) |
Initializes a new instance of the RadialGradientPaint class with properties from another gradient paint. |
RadialGradientPaint(PaintGradientStop[], Point, Double) | |
RadialGradientPaint(PaintGradientStop[]) |
Initializes a new instance of the RadialGradientPaint class with the specified gradient stops. |
RadialGradientPaint(Point, Double) |
Initializes a new instance of the RadialGradientPaint class with the specified center point and radius. |
Properties
BackgroundColor |
Gets or sets the background color of the paint. (Inherited from Paint) |
Center | |
EndColor | (Inherited from GradientPaint) |
EndColorIndex | (Inherited from GradientPaint) |
ForegroundColor |
Gets or sets the foreground color of the paint. (Inherited from Paint) |
GradientStops | (Inherited from GradientPaint) |
IsTransparent | (Inherited from GradientPaint) |
Radius | |
StartColor | (Inherited from GradientPaint) |
StartColorIndex | (Inherited from GradientPaint) |
Methods
AddOffset(Single, Color) | (Inherited from GradientPaint) |
AddOffset(Single) | (Inherited from GradientPaint) |
BlendStartAndEndColors() | (Inherited from GradientPaint) |
BlendStartAndEndColors(Color, Color, Single) | (Inherited from GradientPaint) |
GetColorAt(Single) | (Inherited from GradientPaint) |
GetSortedStops() | (Inherited from GradientPaint) |
RemoveOffset(Int32) | (Inherited from GradientPaint) |
SetGradientStops(Single[], Color[]) | (Inherited from GradientPaint) |
ToString() | (Inherited from GradientPaint) |
Extension Methods
IsNullOrEmpty(Paint) | |
ToColor(Paint) |