Freigeben über


PathGradientBrush.SurroundColors-Eigenschaft

Ruft ein Array von Farben ab, die den Punkten in dem von diesem PathGradientBrush ausgefüllten Pfad entsprechen, oder legt dieses Array fest.

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

Syntax

'Declaration
Public Property SurroundColors As Color()
'Usage
Dim instance As PathGradientBrush
Dim value As Color()

value = instance.SurroundColors

instance.SurroundColors = value
public Color[] SurroundColors { get; set; }
public:
property array<Color>^ SurroundColors {
    array<Color>^ get ();
    void set (array<Color>^ value);
}
/** @property */
public Color[] get_SurroundColors ()

/** @property */
public void set_SurroundColors (Color[] value)
public function get SurroundColors () : Color[]

public function set SurroundColors (value : Color[])

Eigenschaftenwert

Ein Array von Color-Strukturen, das die Farben darstellt, die jedem Punkt in dem von diesem PathGradientBrush ausgefüllten Pfad zugeordnet sind.

Hinweise

Jede Color im SurroundColors-Array entspricht einem Punkt im Pfad.

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