THotPDF.AddImageWithTransparency Method
メソッドの要約: THotPDF.AddImageWithTransparency Method
宣言
function AddImageWithTransparency(Width, Height: Integer; const RGB: array of byte; const Alpha: array of byte): Integer;
ユニット
HPDFDoc
パラメータ
| 名前 | 目的 |
|---|---|
Width | Image width in pixels |
Height | Image height in pixels |
RGB | RGB byte array containing three bytes per pixel |
Alpha | Alpha byte array containing one byte per pixel |
戻り値
Image resource index for the transparent image
使用上の注意
- RGB 配列とアルファ配列は、渡したイメージの幅と高さに一致している必要があります
- TGraphic オブジェクトの外に透過データがすでにある場合は、この API を使います