**Inheritance:**
java.lang.Object
```
public class CdrImageFill
```

The cdr image fill
## Constructors

| Constructor | Description |
| --- | --- |
| [CdrImageFill(int id, double width, double height, boolean isRelative, double xOffset, double yOffset, double rcpOffset, byte flags)](#CdrImageFill-int-double-double-boolean-double-double-double-byte-) | Initializes a new instance of the [CdrImageFill](../../com.aspose.imaging.fileformats.cdr.types/cdrimagefill) class. |
## Methods

| Method | Description |
| --- | --- |
| [getId()](#getId--) | Gets the identifier. |
| [setId(int value)](#setId-int-) | Sets the identifier. |
| [getWidth()](#getWidth--) | Gets the width. |
| [setWidth(double value)](#setWidth-double-) | Sets the width. |
| [getHeight()](#getHeight--) | Gets the height. |
| [setHeight(double value)](#setHeight-double-) | Sets the height. |
| [isRelative()](#isRelative--) | Gets a value indicating whether this instance is relative. |
| [setRelative(boolean value)](#setRelative-boolean-) | Sets a value indicating whether this instance is relative. |
| [getXOffset()](#getXOffset--) | Gets the x offset. |
| [setXOffset(double value)](#setXOffset-double-) | Sets the x offset. |
| [getYOffset()](#getYOffset--) | Gets the y offset. |
| [setYOffset(double value)](#setYOffset-double-) | Sets the y offset. |
| [getRcpOffset()](#getRcpOffset--) | Gets the RCP offset. |
| [setRcpOffset(double value)](#setRcpOffset-double-) | Sets the RCP offset. |
| [getFlags()](#getFlags--) | Gets the flags. |
| [setFlags(byte value)](#setFlags-byte-) | Sets the flags. |
### CdrImageFill(int id, double width, double height, boolean isRelative, double xOffset, double yOffset, double rcpOffset, byte flags) {#CdrImageFill-int-double-double-boolean-double-double-double-byte-}
```
public CdrImageFill(int id, double width, double height, boolean isRelative, double xOffset, double yOffset, double rcpOffset, byte flags)
```


Initializes a new instance of the [CdrImageFill](../../com.aspose.imaging.fileformats.cdr.types/cdrimagefill) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| id | int | The identifier. |
| width | double | The width. |
| height | double | The height. |
| isRelative | boolean | if set to `true` [is relative]. |
| xOffset | double | The x offset. |
| yOffset | double | The y offset. |
| rcpOffset | double | The RCP offset. |
| flags | byte | The flags. |

### getId() {#getId--}
```
public final int getId()
```


Gets the identifier.

**Returns:**
int - the identifier.
### setId(int value) {#setId-int-}
```
public final void setId(int value)
```


Sets the identifier.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the identifier. |

### getWidth() {#getWidth--}
```
public final double getWidth()
```


Gets the width.

**Returns:**
double - the width.
### setWidth(double value) {#setWidth-double-}
```
public final void setWidth(double value)
```


Sets the width.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the width. |

### getHeight() {#getHeight--}
```
public final double getHeight()
```


Gets the height.

**Returns:**
double - the height.
### setHeight(double value) {#setHeight-double-}
```
public final void setHeight(double value)
```


Sets the height.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the height. |

### isRelative() {#isRelative--}
```
public final boolean isRelative()
```


Gets a value indicating whether this instance is relative.

**Returns:**
boolean
### setRelative(boolean value) {#setRelative-boolean-}
```
public final void setRelative(boolean value)
```


Sets a value indicating whether this instance is relative.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether this instance is relative. |

### getXOffset() {#getXOffset--}
```
public final double getXOffset()
```


Gets the x offset.

**Returns:**
double - the x offset.
### setXOffset(double value) {#setXOffset-double-}
```
public final void setXOffset(double value)
```


Sets the x offset.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the x offset. |

### getYOffset() {#getYOffset--}
```
public final double getYOffset()
```


Gets the y offset.

**Returns:**
double - the y offset.
### setYOffset(double value) {#setYOffset-double-}
```
public final void setYOffset(double value)
```


Sets the y offset.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the y offset. |

### getRcpOffset() {#getRcpOffset--}
```
public final double getRcpOffset()
```


Gets the RCP offset.

**Returns:**
double - the RCP offset.
### setRcpOffset(double value) {#setRcpOffset-double-}
```
public final void setRcpOffset(double value)
```


Sets the RCP offset.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the RCP offset. |

### getFlags() {#getFlags--}
```
public final byte getFlags()
```


Gets the flags.

**Returns:**
byte - the flags.
### setFlags(byte value) {#setFlags-byte-}
```
public final void setFlags(byte value)
```


Sets the flags.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | byte | the flags. |

