屬性
| 名稱 | 型別 | 說明 |
|---|---|---|
| Application | Engine, 唯讀 | 回傳 Engine 物件。 |
| TransparentColor | int | 設定將影像儲存為 PNG 格式時,要由透明區域取代的顏色。目前僅支援黑色和白色。 int 值會根據 RGB 三元組,使用以下公式計算:( red value ) + (256 x green value ) + (65536 x blue value ),其中 red value 是三元組的第一個元件,green value 是第二個元件,blue value 是第三個元件。例如,白色的 int 值等於 16777215。 |
方法
| 名稱 | 說明 |
|---|---|
| CopyFrom | 使用另一個物件對應屬性的值初始化目前物件的屬性。 |
| LoadFromFile | 從磁碟上的檔案還原物件內容。 |
| LoadFromMemory | 從全域記憶體還原物件內容。 僅限 Windows。 |
| SaveToFile | 將物件內容儲存至磁碟上的檔案。 |
| SaveToMemory | 將物件內容儲存至全域記憶體。 僅限 Windows。 |
