Freigeben über


PathGradientBrush.InterpolationColors-Eigenschaft

Ruft einen ColorBlend ab, der einen mehrfarbigen linearen Farbverlauf definiert, oder legt diesen fest.

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in system.drawing.dll)

Syntax

'Declaration
Public Property InterpolationColors As ColorBlend
'Usage
Dim instance As PathGradientBrush
Dim value As ColorBlend

value = instance.InterpolationColors

instance.InterpolationColors = value
public ColorBlend InterpolationColors { get; set; }
public:
property ColorBlend^ InterpolationColors {
    ColorBlend^ get ();
    void set (ColorBlend^ value);
}
/** @property */
public ColorBlend get_InterpolationColors ()

/** @property */
public void set_InterpolationColors (ColorBlend value)
public function get InterpolationColors () : ColorBlend

public function set InterpolationColors (value : ColorBlend)

Eigenschaftenwert

Ein ColorBlend, der einen mehrfarbigen linearen Farbverlauf definiert.

Hinweise

Ein ColorBlend enthält einander entsprechende Arrays von Farben und Positionen. Die Positionen sind Werte von 0 bis 1, die die Entfernung zur entsprechenden Farbe entlang des Pfadfarbverlaufs in Prozenten angeben.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

PathGradientBrush-Klasse
PathGradientBrush-Member
System.Drawing.Drawing2D-Namespace