**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.emf.MetaObject](../../com.aspose.imaging.fileformats.emf/metaobject), [com.aspose.imaging.fileformats.wmf.objects.WmfObject](../../com.aspose.imaging.fileformats.wmf.objects/wmfobject), [com.aspose.imaging.fileformats.wmf.objects.WmfPointObject](../../com.aspose.imaging.fileformats.wmf.objects/wmfpointobject)
```
public class WmfSetPixel extends WmfPointObject
```

META\_SETPIXEL 记录将指定坐标处的像素设置为指定颜色。
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [WmfSetPixel()](#WmfSetPixel--) |  |
## 方法

| 方法 | 描述 |
| --- | --- |
| [getColorRef()](#getColorRef--) | 获取或设置颜色引用。 |
| [setColorRef(int value)](#setColorRef-int-) | 获取或设置颜色引用。 |
### WmfSetPixel() {#WmfSetPixel--}
```
public WmfSetPixel()
```


### getColorRef() {#getColorRef--}
```
public int getColorRef()
```


获取或设置颜色引用。

值：颜色引用。

**Returns:**
int
### setColorRef(int value) {#setColorRef-int-}
```
public void setColorRef(int value)
```


获取或设置颜色引用。

值：颜色引用。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | int |  |

