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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應