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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om