Region.IsInfinite(Graphics) 方法

定義

測試這個 Region 在指定的繪圖介面上是否有無限內部。

public:
 bool IsInfinite(System::Drawing::Graphics ^ g);
public bool IsInfinite (System.Drawing.Graphics g);
member this.IsInfinite : System.Drawing.Graphics -> bool
Public Function IsInfinite (g As Graphics) As Boolean

參數

g
Graphics

Graphics,表示繪圖介面。

傳回

如果套用與 g 關聯的轉換時,這個 Region 的內部是無限的,則為 true,否則為 false

例外狀況

gnull

備註

圖形內容的 g 目前轉換是用來計算繪圖介面上的區域內部。

適用於