
## Fill class

Contains the current fill formatting values for the shape and the shape's drop shadow, including pattern, foreground color, and background color.

## Methods

| Name | Description |
| --- | --- |
| [deepClone()](#deepclone) | Creates deep copy of this instance. |
| [getDel()](#getdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [getFillBkgnd()](#getfillbkgnd) | Specifies the color used for the background of the shape's fill pattern. |
| [getFillBkgndTrans()](#getfillbkgndtrans) | Specifies the transparency level for the background (fill) color of the shape's fill pattern, from 0 (completely opaque) |
| [getFillForegnd()](#getfillforegnd) | Specifies the color used for the foreground (stroke) of the shape's fill pattern. |
| [getFillForegndTrans()](#getfillforegndtrans) | Specifies the transparency level for the foreground (fill) color of the shape's fill pattern, from 0 (completely opaque) |
| [getFillPattern()](#getfillpattern) | Specifies the fill pattern for the shape. |
| [getGradientFill()](#getgradientfill) | Contains the current gradient fill formatting values for the shape |
| [getShapeShdwBlur()](#getshapeshdwblur) | Specifies the shadow blur size of a shape. cannot draw blur now, but can parse from vsdx now. |
| [getShapeShdwObliqueAngle()](#getshapeshdwobliqueangle) | Specifies the angle of oblique direction of a shape's shadow. |
| [getShapeShdwOffsetX()](#getshapeshdwoffsetx) | Determines the distance in page units that a shape's shadow is offset horizontally from the shape. |
| [getShapeShdwOffsetY()](#getshapeshdwoffsety) | Determines the distance in page units that a shape's shadow is offset vertically from the shape. |
| [getShapeShdwScaleFactor()](#getshapeshdwscalefactor) | Specifies the percentage by which the shadow of a shape can be enlarged or reduced. |
| [getShapeShdwShow()](#getshapeshdwshow) | Specifies the type of shadow for a shape. |
| [getShapeShdwType()](#getshapeshdwtype) | Specifies the type of shadow for a shape. |
| [getShdwBkgnd()](#getshdwbkgnd) | Specifies the color used for the background (fill) of the shape's drop shadow fill pattern. |
| [getShdwBkgndTrans()](#getshdwbkgndtrans) | Specifies transparency level for the background (fill) of the shape's drop shadow fill pattern, from 0.0 (completely opa |
| [getShdwForegnd()](#getshdwforegnd) | Specifies the color used for the foreground (stroke) of the shape's drop shadow fill pattern. |
| [getShdwForegndTrans()](#getshdwforegndtrans) | Specifies transparency level for the foreground (stroke) of the shape's drop shadow fill pattern, from 0.0 (completely o |
| [getShdwPattern()](#getshdwpattern) | Specifies the fill pattern for a shape's shadow. |
| [setDel()](#setdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [setFillBkgnd()](#setfillbkgnd) | Specifies the color used for the background of the shape's fill pattern. |
| [setFillBkgndTrans()](#setfillbkgndtrans) | Specifies the transparency level for the background (fill) color of the shape's fill pattern, from 0 (completely opaque) |
| [setFillForegnd()](#setfillforegnd) | Specifies the color used for the foreground (stroke) of the shape's fill pattern. |
| [setFillForegndTrans()](#setfillforegndtrans) | Specifies the transparency level for the foreground (fill) color of the shape's fill pattern, from 0 (completely opaque) |
| [setFillPattern()](#setfillpattern) | Specifies the fill pattern for the shape. |
| [setShapeShdwBlur()](#setshapeshdwblur) | Specifies the shadow blur size of a shape. cannot draw blur now, but can parse from vsdx now. |
| [setShapeShdwObliqueAngle()](#setshapeshdwobliqueangle) | Specifies the angle of oblique direction of a shape's shadow. |
| [setShapeShdwOffsetX()](#setshapeshdwoffsetx) | Determines the distance in page units that a shape's shadow is offset horizontally from the shape. |
| [setShapeShdwOffsetY()](#setshapeshdwoffsety) | Determines the distance in page units that a shape's shadow is offset vertically from the shape. |
| [setShapeShdwScaleFactor()](#setshapeshdwscalefactor) | Specifies the percentage by which the shadow of a shape can be enlarged or reduced. |
| [setShapeShdwShow()](#setshapeshdwshow) | Specifies the type of shadow for a shape. |
| [setShapeShdwType()](#setshapeshdwtype) | Specifies the type of shadow for a shape. |
| [setShdwBkgnd()](#setshdwbkgnd) | Specifies the color used for the background (fill) of the shape's drop shadow fill pattern. |
| [setShdwBkgndTrans()](#setshdwbkgndtrans) | Specifies transparency level for the background (fill) of the shape's drop shadow fill pattern, from 0.0 (completely opa |
| [setShdwForegnd()](#setshdwforegnd) | Specifies the color used for the foreground (stroke) of the shape's drop shadow fill pattern. |
| [setShdwForegndTrans()](#setshdwforegndtrans) | Specifies transparency level for the foreground (stroke) of the shape's drop shadow fill pattern, from 0.0 (completely o |
| [setShdwPattern()](#setshdwpattern) | Specifies the fill pattern for a shape's shadow. |

### deepClone() {#deepclone}

Creates deep copy of this instance.

**Returns:** Object — `Object`

### getDel() {#getdel}

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

### getFillBkgnd() {#getfillbkgnd}

Specifies the color used for the background of the shape's fill pattern.

### getFillBkgndTrans() {#getfillbkgndtrans}

Specifies the transparency level for the background (fill) color of the shape's fill pattern, from 0 (completely opaque) to 1 (completely transparent).

### getFillForegnd() {#getfillforegnd}

Specifies the color used for the foreground (stroke) of the shape's fill pattern.

### getFillForegndTrans() {#getfillforegndtrans}

Specifies the transparency level for the foreground (fill) color of the shape's fill pattern, from 0 (completely opaque) to 1 (completely transparent).

### getFillPattern() {#getfillpattern}

Specifies the fill pattern for the shape.

### getGradientFill() {#getgradientfill}

Contains the current gradient fill formatting values for the shape

### getShapeShdwBlur() {#getshapeshdwblur}

Specifies the shadow blur size of a shape. cannot draw blur now, but can parse from vsdx now.

### getShapeShdwObliqueAngle() {#getshapeshdwobliqueangle}

Specifies the angle of oblique direction of a shape's shadow.

### getShapeShdwOffsetX() {#getshapeshdwoffsetx}

Determines the distance in page units that a shape's shadow is offset horizontally from the shape.

### getShapeShdwOffsetY() {#getshapeshdwoffsety}

Determines the distance in page units that a shape's shadow is offset vertically from the shape.

### getShapeShdwScaleFactor() {#getshapeshdwscalefactor}

Specifies the percentage by which the shadow of a shape can be enlarged or reduced.

### getShapeShdwShow() {#getshapeshdwshow}

Specifies the type of shadow for a shape.

### getShapeShdwType() {#getshapeshdwtype}

Specifies the type of shadow for a shape.

### getShdwBkgnd() {#getshdwbkgnd}

Specifies the color used for the background (fill) of the shape's drop shadow fill pattern.

### getShdwBkgndTrans() {#getshdwbkgndtrans}

Specifies transparency level for the background (fill) of the shape's drop shadow fill pattern, from 0.0 (completely opaque) to 1.0 (completely transparent).

### getShdwForegnd() {#getshdwforegnd}

Specifies the color used for the foreground (stroke) of the shape's drop shadow fill pattern.

### getShdwForegndTrans() {#getshdwforegndtrans}

Specifies transparency level for the foreground (stroke) of the shape's drop shadow fill pattern, from 0.0 (completely opaque) to 1.0 (completely transparent).

### getShdwPattern() {#getshdwpattern}

Specifies the fill pattern for a shape's shadow.

### setDel() {#setdel}

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

### setFillBkgnd() {#setfillbkgnd}

Specifies the color used for the background of the shape's fill pattern.

### setFillBkgndTrans() {#setfillbkgndtrans}

Specifies the transparency level for the background (fill) color of the shape's fill pattern, from 0 (completely opaque) to 1 (completely transparent).

### setFillForegnd() {#setfillforegnd}

Specifies the color used for the foreground (stroke) of the shape's fill pattern.

### setFillForegndTrans() {#setfillforegndtrans}

Specifies the transparency level for the foreground (fill) color of the shape's fill pattern, from 0 (completely opaque) to 1 (completely transparent).

### setFillPattern() {#setfillpattern}

Specifies the fill pattern for the shape.

### setShapeShdwBlur() {#setshapeshdwblur}

Specifies the shadow blur size of a shape. cannot draw blur now, but can parse from vsdx now.

### setShapeShdwObliqueAngle() {#setshapeshdwobliqueangle}

Specifies the angle of oblique direction of a shape's shadow.

### setShapeShdwOffsetX() {#setshapeshdwoffsetx}

Determines the distance in page units that a shape's shadow is offset horizontally from the shape.

### setShapeShdwOffsetY() {#setshapeshdwoffsety}

Determines the distance in page units that a shape's shadow is offset vertically from the shape.

### setShapeShdwScaleFactor() {#setshapeshdwscalefactor}

Specifies the percentage by which the shadow of a shape can be enlarged or reduced.

### setShapeShdwShow() {#setshapeshdwshow}

Specifies the type of shadow for a shape.

### setShapeShdwType() {#setshapeshdwtype}

Specifies the type of shadow for a shape.

### setShdwBkgnd() {#setshdwbkgnd}

Specifies the color used for the background (fill) of the shape's drop shadow fill pattern.

### setShdwBkgndTrans() {#setshdwbkgndtrans}

Specifies transparency level for the background (fill) of the shape's drop shadow fill pattern, from 0.0 (completely opaque) to 1.0 (completely transparent).

### setShdwForegnd() {#setshdwforegnd}

Specifies the color used for the foreground (stroke) of the shape's drop shadow fill pattern.

### setShdwForegndTrans() {#setshdwforegndtrans}

Specifies transparency level for the foreground (stroke) of the shape's drop shadow fill pattern, from 0.0 (completely opaque) to 1.0 (completely transparent).

### setShdwPattern() {#setshdwpattern}

Specifies the fill pattern for a shape's shadow.
