**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)
```
public class WmfFloodFill extends WmfObject
```

The META\_FLOODFILL record fills an area of the output surface with the brush that is defined in the playback device context.
## Constructors

| Constructor | Description |
| --- | --- |
| [WmfFloodFill()](#WmfFloodFill--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getColorRef()](#getColorRef--) | Gets or sets the color reference. |
| [setColorRef(int value)](#setColorRef-int-) | Gets or sets the color reference. |
| [getYStart()](#getYStart--) | Gets or sets the y start. |
| [setYStart(short value)](#setYStart-short-) | Gets or sets the y start. |
| [getXStart()](#getXStart--) | Gets or sets the x start. |
| [setXStart(short value)](#setXStart-short-) | Gets or sets the x start. |
### WmfFloodFill() {#WmfFloodFill--}
```
public WmfFloodFill()
```


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


Gets or sets the color reference.

Value: The `com.aspose.imaging.fileFormats.wmf.objects.wmfFloodFill.ColorRef` Object that defines the color value.

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


Gets or sets the color reference.

Value: The `com.aspose.imaging.fileFormats.wmf.objects.wmfFloodFill.ColorRef` Object that defines the color value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### getYStart() {#getYStart--}
```
public short getYStart()
```


Gets or sets the y start.

Value: The y-coordinate, in logical units, of the point where filling is to start.

**Returns:**
short
### setYStart(short value) {#setYStart-short-}
```
public void setYStart(short value)
```


Gets or sets the y start.

Value: The y-coordinate, in logical units, of the point where filling is to start.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short |  |

### getXStart() {#getXStart--}
```
public short getXStart()
```


Gets or sets the x start.

Value: The x-coordinate, in logical units, of the point where filling is to start.

**Returns:**
short
### setXStart(short value) {#setXStart-short-}
```
public void setXStart(short value)
```


Gets or sets the x start.

Value: The x-coordinate, in logical units, of the point where filling is to start.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short |  |

