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 的范围内