GraphicsPathIterator 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供在 a GraphicsPath 中遍歷子路徑並測試每個子路徑中形狀類型的能力。 此類別無法獲得繼承。
public ref class GraphicsPathIterator sealed : MarshalByRefObject, IDisposable
public sealed class GraphicsPathIterator : MarshalByRefObject, IDisposable
type GraphicsPathIterator = class
inherit MarshalByRefObject
interface IDisposable
Public NotInheritable Class GraphicsPathIterator
Inherits MarshalByRefObject
Implements IDisposable
- 繼承
- 實作
備註
Note
在 .NET 6 和更新版本中,只有 Windows作系統才支援包含此類型的 System.Drawing.Common 套件。 跨平台應用程式使用此類會引發編譯時警告及執行時異常。 如需詳細資訊,請參閱 僅限 Windows 上支援的 System.Drawing.Common。
建構函式
| 名稱 | Description |
|---|---|
| GraphicsPathIterator(GraphicsPath) |
初始化該類別的新實例 GraphicsPathIterator ,並使用指定 GraphicsPath 物件。 |
屬性
| 名稱 | Description |
|---|---|
| Count |
會得到路徑上的點數。 |
| SubpathCount |
會取得路徑中子路徑的數量。 |