Fill
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. |
Fill.Del property
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.
Type: int
Fill.FillForegnd property
Specifies the color used for the foreground (stroke) of the shape’s fill pattern.
Type: ColorValue
Fill.GradientFill property
Contains the current gradient fill formatting values for the shape
Type: GradientFill
Fill.FillBkgnd property
Specifies the color used for the background of the shape’s fill pattern.
Type: ColorValue
Fill.FillPattern property
Specifies the fill pattern for the shape.
Type: IntValue
Fill.ShdwForegnd property
Specifies the color used for the foreground (stroke) of the shape’s drop shadow fill pattern.
Type: ColorValue
Fill.ShdwBkgnd property
Specifies the color used for the background (fill) of the shape’s drop shadow fill pattern.
Type: ColorValue
Fill.ShdwPattern property
Specifies the fill pattern for a shape’s shadow.
Type: IntValue
Fill.FillForegndTrans property
Specifies the transparency level for the foreground (fill) color of the shape’s fill pattern, from 0 (completely opaque) to 1 (completely transparent).
Type: DoubleValue
Fill.FillBkgndTrans property
Specifies the transparency level for the background (fill) color of the shape’s fill pattern, from 0 (completely opaque) to 1 (completely transparent).
Type: DoubleValue
Fill.ShdwForegndTrans property
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).
Type: DoubleValue
Fill.ShdwBkgndTrans property
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).
Type: DoubleValue
Fill.ShapeShdwType property
Specifies the type of shadow for a shape.
Type: ShapeShdwType
Fill.ShapeShdwShow property
Specifies the type of shadow for a shape.
Type: ShapeShdwShow
Fill.ShapeShdwOffsetX property
Determines the distance in page units that a shape’s shadow is offset horizontally from the shape.
Type: DoubleValue
Fill.ShapeShdwOffsetY property
Determines the distance in page units that a shape’s shadow is offset vertically from the shape.
Type: DoubleValue
Fill.ShapeShdwObliqueAngle property
Specifies the angle of oblique direction of a shape’s shadow.
Type: DoubleValue
Fill.ShapeShdwScaleFactor property
Specifies the percentage by which the shadow of a shape can be enlarged or reduced.
Type: DoubleValue
Fill.ShapeShdwBlur property
Specifies the shadow blur size of a shape. cannot draw blur now, but can parse from vsdx now.
Type: DoubleValue
deepClone()
Creates deep copy of this instance.