Fill
Contents
[
Hide
]Fill class
Contains the current fill formatting values for the shape and the shape’s drop shadow, including pattern, foreground color, and background color.
Properties
| Name | Type | Description |
|---|---|---|
| Del | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| FillForegnd | ColorValue | Specifies the color used for the foreground (stroke) of the shape’s fill pattern. |
| GradientFill | GradientFill | Contains the current gradient fill formatting values for the shape |
| FillBkgnd | ColorValue | Specifies the color used for the background of the shape’s fill pattern. |
| FillPattern | IntValue | Specifies the fill pattern for the shape. |
| ShdwForegnd | ColorValue | Specifies the color used for the foreground (stroke) of the shape’s drop shadow fill pattern. |
| ShdwBkgnd | ColorValue | Specifies the color used for the background (fill) of the shape’s drop shadow fill pattern. |
| ShdwPattern | IntValue | Specifies the fill pattern for a shape’s shadow. |
| FillForegndTrans | DoubleValue | Specifies the transparency level for the foreground (fill) color of the shape’s fill pattern, from 0 (completely opaque) |
| FillBkgndTrans | DoubleValue | Specifies the transparency level for the background (fill) color of the shape’s fill pattern, from 0 (completely opaque) |
| ShdwForegndTrans | DoubleValue | Specifies transparency level for the foreground (stroke) of the shape’s drop shadow fill pattern, from 0.0 (completely o |
| ShdwBkgndTrans | DoubleValue | Specifies transparency level for the background (fill) of the shape’s drop shadow fill pattern, from 0.0 (completely opa |
| ShapeShdwType | ShapeShdwType | Specifies the type of shadow for a shape. |
| ShapeShdwShow | ShapeShdwShow | Specifies the type of shadow for a shape. |
| ShapeShdwOffsetX | DoubleValue | Determines the distance in page units that a shape’s shadow is offset horizontally from the shape. |
| ShapeShdwOffsetY | DoubleValue | Determines the distance in page units that a shape’s shadow is offset vertically from the shape. |
| ShapeShdwObliqueAngle | DoubleValue | Specifies the angle of oblique direction of a shape’s shadow. |
| ShapeShdwScaleFactor | DoubleValue | Specifies the percentage by which the shadow of a shape can be enlarged or reduced. |
| ShapeShdwBlur | DoubleValue | Specifies the shadow blur size of a shape. cannot draw blur now, but can parse from vsdx now. |
Methods
| Name | Description |
|---|---|
| deepClone | Creates deep copy of this instance. |