EmfRop4

Inheritance: java.lang.Object

public final class EmfRop4

一种四元光栅操作,用于指定位图前景色和背景色的三元光栅操作。这些值定义了源矩形的颜色数据如何与目标矩形的颜色数据组合。

构造函数

构造函数描述
EmfRop4(int dwordData)初始化 EmfRop4 类的新实例。

方法

方法描述
getBackgroundRop3()获取背景 ROP3。
getForegroundRop3()获取前景 ROP3。

EmfRop4(int dwordData)

public EmfRop4(int dwordData)

初始化 EmfRop4 类的新实例。

Parameters:

参数类型描述
dwordDataintdword 数据。

getBackgroundRop3()

public byte getBackgroundRop3()

获取背景 ROP3。该值是来自 WMF 三元光栅操作枚举 ([MS-WMF] section 2.1.1.31) 的 24 位三元光栅操作值的无符号最高 8 位。此代码定义了如何组合源位图和目标位图以及画刷图案的背景颜色数据。

值:背景 ROP3。

Returns: byte

getForegroundRop3()

public byte getForegroundRop3()

获取前景 ROP3。该值是来自 WMF 三元光栅操作枚举的 24 位三元光栅操作值的无符号最高 8 位。此代码定义了如何组合源位图和目标位图以及画刷图案的前景颜色数据。

值:前景 ROP3。

Returns: byte