SetPNGTransparencyColor
影像處理、色彩
描述
設定描繪函式產生 PNG 影像時作為透明遮罩的 RGB 顏色
語法
Delphi
Function TPDFlib.SetPNGTransparencyColor(RedByte, GreenByte, BlueByte: Integer): Integer;
ActiveX
Function PDFlib::SetPNGTransparencyColor(RedByte As Long, GreenByte As Long, BlueByte As Long) As Long
DLL
int DLSetPNGTransparencyColor(int InstanceID, int RedByte, int GreenByte, int BlueByte);
參數
| RedByte | 紅色分量 |
|---|---|
| GreenByte | 綠色成分 |
| BlueByte | 藍色成分 |
傳回值
傳回 1。每個位元組值都會被遮罩到 0 到 255 的範圍內