Aspose::Page::EPS::PsDocument::DrawTransparentImage method

PsDocument::DrawTransparentImage method

绘制变换后的透明图像。如果图像没有 Alpha 通道,则会以不透明图像绘制。

void Aspose::Page::EPS::PsDocument::DrawTransparentImage(System::SharedPtr<System::Drawing::Bitmap> image, System::SharedPtr<System::Drawing::Drawing2D::Matrix> transform, int32_t transparencyThreshold)
ParameterType描述
imageSystem::SharedPtr<System::Drawing::Bitmap>要绘制的图像。
变换System::SharedPtr<System::Drawing::Drawing2D::Matrix>用于变换图像的矩阵。
transparencyThresholdint32_t一个阈值,用于定义从哪个透明度值开始像素被解释为完全透明。低于此阈值的所有值将被解释为完全不透明。

另见