
## MsoFillFormatHelper class

Represents fill formatting for a shape.

## Methods

| Name | Description |
| --- | --- |
| [getBackColor()](#getbackcolor) | Gets and sets the file back color. |
| [getForeColor()](#getforecolor) | Gets and sets the fill fore color. |
| [getForeColorTransparency()](#getforecolortransparency) | Returns or sets the degree of fore color of the specified fill as a value from 0.0 (opaque) through 1.0 (clear). |
| [getImageData()](#getimagedata) | Gets and sets the Texture and Picture fill data. |
| [getTexture()](#gettexture) | Gets the texture fill type. The value of the property is TextureType integer constant. |
| [isVisible()](#isvisible) | Indicates whether there is fill. |
| [setBackColor()](#setbackcolor) | Gets and sets the file back color. |
| [setForeColor()](#setforecolor) | Gets and sets the fill fore color. |
| [setForeColorTransparency()](#setforecolortransparency) | Returns or sets the degree of fore color of the specified fill as a value from 0.0 (opaque) through 1.0 (clear). |
| [setImageData()](#setimagedata) | Gets and sets the Texture and Picture fill data. |
| [setOneColorGradient(color, degree, style, variant)](#setonecolorgradient) | Sets the specified fill to a one-color gradient. |
| [setVisible()](#setvisible) | Indicates whether there is fill. |

### getBackColor() {#getbackcolor}

Gets and sets the file back color.

### getForeColor() {#getforecolor}

Gets and sets the fill fore color.

### getForeColorTransparency() {#getforecolortransparency}

Returns or sets the degree of fore color of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).

### getImageData() {#getimagedata}

Gets and sets the Texture and Picture fill data.

### getTexture() {#gettexture}

Gets the texture fill type. The value of the property is TextureType integer constant.

### isVisible() {#isvisible}

Indicates whether there is fill.

### setBackColor() {#setbackcolor}

Gets and sets the file back color.

### setForeColor() {#setforecolor}

Gets and sets the fill fore color.

### setForeColorTransparency() {#setforecolortransparency}

Returns or sets the degree of fore color of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).

### setImageData() {#setimagedata}

Gets and sets the Texture and Picture fill data.

### setOneColorGradient(color, degree, style, variant) {#setonecolorgradient}

Sets the specified fill to a one-color gradient.

| Parameter | Type | Description |
| --- | --- | --- |
| color | Color | One gradient color. |
| degree | Number | The gradient degree. Can be a value from 0.0 (dark) through 1.0 (light). |
| style | Number | GradientStyleType |
| variant | Number | The gradient variant. Can be a value from 1 through 4, corresponding to one of the four variants on the Gradient tab in the Fill Effects dialog box. If style is GradientStyle.FromCenter, the Variant argument can only be 1 or 2. |

### setVisible() {#setvisible}

Indicates whether there is fill.
