LinearGradientBrush Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der LinearGradientBrush-Klasse.
Überlädt
| Name | Beschreibung |
|---|---|
| LinearGradientBrush() |
Initialisiert eine neue Instanz der LinearGradientBrush-Klasse. |
| LinearGradientBrush(GradientStopCollection) |
Initialisiert eine neue Instanz der LinearGradientBrush Klasse mit den angegebenen Farbverlaufsstopps. |
| LinearGradientBrush(GradientStopCollection, Double) |
Initialisiert eine neue Instanz der Klasse, die LinearGradientBrush den angegebenen GradientStopCollection und winkel hat. |
| LinearGradientBrush(Color, Color, Double) |
Initialisiert eine neue Instanz der Klasse, die LinearGradientBrush den angegebenen Anfangs- Color, End Color- und Winkel aufweist. |
| LinearGradientBrush(GradientStopCollection, Point, Point) |
Initialisiert eine neue Instanz der LinearGradientBrush Klasse mit den angegebenen Farbverlaufsstopps, StartPointund EndPoint. |
| LinearGradientBrush(Color, Color, Point, Point) |
Initialisiert eine neue Instanz der Klasse, die LinearGradientBrush den angegebenen Start Color, Das Ende Colorund StartPointdie EndPointangegebenen . |
Hinweise
Der MappingMode Pinsel wird initialisiert in RelativeToBoundingBox.
LinearGradientBrush()
Initialisiert eine neue Instanz der LinearGradientBrush-Klasse.
public:
LinearGradientBrush();
public LinearGradientBrush();
Public Sub New ()
Hinweise
Der MappingMode Pinsel wird initialisiert in RelativeToBoundingBox.
Gilt für:
LinearGradientBrush(GradientStopCollection)
Initialisiert eine neue Instanz der LinearGradientBrush Klasse mit den angegebenen Farbverlaufsstopps.
public:
LinearGradientBrush(System::Windows::Media::GradientStopCollection ^ gradientStopCollection);
public LinearGradientBrush(System.Windows.Media.GradientStopCollection gradientStopCollection);
new System.Windows.Media.LinearGradientBrush : System.Windows.Media.GradientStopCollection -> System.Windows.Media.LinearGradientBrush
Public Sub New (gradientStopCollection As GradientStopCollection)
Parameter
- gradientStopCollection
- GradientStopCollection
Der GradientStops für diesen Pinsel festzulegende Pinsel.
Hinweise
Der MappingMode Pinsel wird initialisiert in RelativeToBoundingBox.
Weitere Informationen
Gilt für:
LinearGradientBrush(GradientStopCollection, Double)
Initialisiert eine neue Instanz der Klasse, die LinearGradientBrush den angegebenen GradientStopCollection und winkel hat.
public:
LinearGradientBrush(System::Windows::Media::GradientStopCollection ^ gradientStopCollection, double angle);
public LinearGradientBrush(System.Windows.Media.GradientStopCollection gradientStopCollection, double angle);
new System.Windows.Media.LinearGradientBrush : System.Windows.Media.GradientStopCollection * double -> System.Windows.Media.LinearGradientBrush
Public Sub New (gradientStopCollection As GradientStopCollection, angle As Double)
Parameter
- gradientStopCollection
- GradientStopCollection
Der GradientStops für diesen Pinsel festzulegende Pinsel.
- angle
- Double
Ein Double Wert, der den Winkel des Farbverlaufs in Grad darstellt. Ein Wert von 0,0 erstellt einen horizontalen Farbverlauf, und ein Wert von 90,0 erstellt einen vertikalen Farbverlauf.
Hinweise
Der MappingMode Pinsel wird initialisiert in RelativeToBoundingBox.
Gilt für:
LinearGradientBrush(Color, Color, Double)
Initialisiert eine neue Instanz der Klasse, die LinearGradientBrush den angegebenen Anfangs- Color, End Color- und Winkel aufweist.
public:
LinearGradientBrush(System::Windows::Media::Color startColor, System::Windows::Media::Color endColor, double angle);
public LinearGradientBrush(System.Windows.Media.Color startColor, System.Windows.Media.Color endColor, double angle);
new System.Windows.Media.LinearGradientBrush : System.Windows.Media.Color * System.Windows.Media.Color * double -> System.Windows.Media.LinearGradientBrush
Public Sub New (startColor As Color, endColor As Color, angle As Double)
Parameter
- angle
- Double
Ein Double Wert, der den Winkel des Farbverlaufs in Grad darstellt. Ein Wert von 0,0 erstellt einen horizontalen Farbverlauf, und ein Wert von 90,0 erstellt einen vertikalen Farbverlauf.
Hinweise
Der MappingMode Pinsel wird initialisiert in RelativeToBoundingBox.
Gilt für:
LinearGradientBrush(GradientStopCollection, Point, Point)
Initialisiert eine neue Instanz der LinearGradientBrush Klasse mit den angegebenen Farbverlaufsstopps, StartPointund EndPoint.
public:
LinearGradientBrush(System::Windows::Media::GradientStopCollection ^ gradientStopCollection, System::Windows::Point startPoint, System::Windows::Point endPoint);
public LinearGradientBrush(System.Windows.Media.GradientStopCollection gradientStopCollection, System.Windows.Point startPoint, System.Windows.Point endPoint);
new System.Windows.Media.LinearGradientBrush : System.Windows.Media.GradientStopCollection * System.Windows.Point * System.Windows.Point -> System.Windows.Media.LinearGradientBrush
Public Sub New (gradientStopCollection As GradientStopCollection, startPoint As Point, endPoint As Point)
Parameter
- gradientStopCollection
- GradientStopCollection
Der GradientStops für diesen Pinsel festzulegende Pinsel.
- startPoint
- Point
Der StartPoint Farbverlauf.
Hinweise
Der MappingMode Pinsel wird initialisiert in RelativeToBoundingBox.
Gilt für:
LinearGradientBrush(Color, Color, Point, Point)
Initialisiert eine neue Instanz der Klasse, die LinearGradientBrush den angegebenen Start Color, Das Ende Colorund StartPointdie EndPointangegebenen .
public:
LinearGradientBrush(System::Windows::Media::Color startColor, System::Windows::Media::Color endColor, System::Windows::Point startPoint, System::Windows::Point endPoint);
public LinearGradientBrush(System.Windows.Media.Color startColor, System.Windows.Media.Color endColor, System.Windows.Point startPoint, System.Windows.Point endPoint);
new System.Windows.Media.LinearGradientBrush : System.Windows.Media.Color * System.Windows.Media.Color * System.Windows.Point * System.Windows.Point -> System.Windows.Media.LinearGradientBrush
Public Sub New (startColor As Color, endColor As Color, startPoint As Point, endPoint As Point)
Parameter
- startPoint
- Point
Der StartPoint Farbverlauf.
Hinweise
Der MappingMode Pinsel wird initialisiert in RelativeToBoundingBox.