Freigeben über


GraphicsPath-Konstruktor (Point[], Byte )

Initialisiert eine neue Instanz der GraphicsPath-Klasse mit dem angegebenen PathPointType-Array und dem angegebenen Point-Array.

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

Syntax

'Declaration
Public Sub New ( _
    pts As Point(), _
    types As Byte() _
)
'Usage
Dim pts As Point()
Dim types As Byte()

Dim instance As New GraphicsPath(pts, types)
public GraphicsPath (
    Point[] pts,
    byte[] types
)
public:
GraphicsPath (
    array<Point>^ pts, 
    array<unsigned char>^ types
)
public GraphicsPath (
    Point[] pts, 
    byte[] types
)
public function GraphicsPath (
    pts : Point[], 
    types : byte[]
)

Parameter

  • pts
    Ein Array von Point-Strukturen, das die Koordinaten der Punkte definiert, aus denen dieser GraphicsPath besteht.
  • types
    Ein Array von PathPointType-Enumerationselementen, das den Typ für jeden entsprechenden Punkt im pts-Array angibt.

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

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