RadialGradientBrush Constructors
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.
Initializes a new instance of the RadialGradientBrush class.
Overloads
RadialGradientBrush() |
Initializes a new instance of the RadialGradientBrush class. |
RadialGradientBrush(GradientStopCollection) |
Initializes a new instance of the RadialGradientBrush class that has the specified gradient stops. |
RadialGradientBrush(Color, Color) |
Initializes a new instance of the RadialGradientBrush class with the specified start and stop colors. |
RadialGradientBrush()
Initializes a new instance of the RadialGradientBrush class.
public:
RadialGradientBrush();
public RadialGradientBrush ();
Public Sub New ()
Applies to
RadialGradientBrush(GradientStopCollection)
Initializes a new instance of the RadialGradientBrush class that has the specified gradient stops.
public:
RadialGradientBrush(System::Windows::Media::GradientStopCollection ^ gradientStopCollection);
public RadialGradientBrush (System.Windows.Media.GradientStopCollection gradientStopCollection);
new System.Windows.Media.RadialGradientBrush : System.Windows.Media.GradientStopCollection -> System.Windows.Media.RadialGradientBrush
Public Sub New (gradientStopCollection As GradientStopCollection)
Parameters
- gradientStopCollection
- GradientStopCollection
The gradient stops to set on this brush.
Applies to
RadialGradientBrush(Color, Color)
Initializes a new instance of the RadialGradientBrush class with the specified start and stop colors.
public:
RadialGradientBrush(System::Windows::Media::Color startColor, System::Windows::Media::Color endColor);
public RadialGradientBrush (System.Windows.Media.Color startColor, System.Windows.Media.Color endColor);
new System.Windows.Media.RadialGradientBrush : System.Windows.Media.Color * System.Windows.Media.Color -> System.Windows.Media.RadialGradientBrush
Public Sub New (startColor As Color, endColor As Color)
Parameters
- startColor
- Color
Color value at the focus (GradientOrigin) of the radial gradient.
- endColor
- Color
Color value at the outer edge of the radial gradient.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈