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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기