LinearGradientPaint 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.
public ref class LinearGradientPaint : Microsoft::Maui::Graphics::GradientPaint
public class LinearGradientPaint : Microsoft.Maui.Graphics.GradientPaint
type LinearGradientPaint = class
inherit GradientPaint
Public Class LinearGradientPaint
Inherits GradientPaint
- Inheritance
Constructors
LinearGradientPaint() | |
LinearGradientPaint(GradientPaint) | |
LinearGradientPaint(PaintGradientStop[]) | |
LinearGradientPaint(PaintGradientStop[], Point, Point) | |
LinearGradientPaint(Point, Point) |
Properties
BackgroundColor | (Inherited from Paint) |
EndColor | (Inherited from GradientPaint) |
EndColorIndex | (Inherited from GradientPaint) |
EndPoint | |
ForegroundColor | (Inherited from Paint) |
GradientStops | (Inherited from GradientPaint) |
IsTransparent | (Inherited from GradientPaint) |
StartColor | (Inherited from GradientPaint) |
StartColorIndex | (Inherited from GradientPaint) |
StartPoint |
Methods
AddOffset(Single) | (Inherited from GradientPaint) |
AddOffset(Single, Color) | (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) |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈