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

NameTypeDescription
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
FillForegndColorValueSpecifies the color used for the foreground (stroke) of the shape’s fill pattern.
GradientFillGradientFillContains the current gradient fill formatting values for the shape
FillBkgndColorValueSpecifies the color used for the background of the shape’s fill pattern.
FillPatternIntValueSpecifies the fill pattern for the shape.
ShdwForegndColorValueSpecifies the color used for the foreground (stroke) of the shape’s drop shadow fill pattern.
ShdwBkgndColorValueSpecifies the color used for the background (fill) of the shape’s drop shadow fill pattern.
ShdwPatternIntValueSpecifies the fill pattern for a shape’s shadow.
FillForegndTransDoubleValueSpecifies the transparency level for the foreground (fill) color of the shape’s fill pattern, from 0 (completely opaque)
FillBkgndTransDoubleValueSpecifies the transparency level for the background (fill) color of the shape’s fill pattern, from 0 (completely opaque)
ShdwForegndTransDoubleValueSpecifies transparency level for the foreground (stroke) of the shape’s drop shadow fill pattern, from 0.0 (completely o
ShdwBkgndTransDoubleValueSpecifies transparency level for the background (fill) of the shape’s drop shadow fill pattern, from 0.0 (completely opa
ShapeShdwTypeShapeShdwTypeSpecifies the type of shadow for a shape.
ShapeShdwShowShapeShdwShowSpecifies the type of shadow for a shape.
ShapeShdwOffsetXDoubleValueDetermines the distance in page units that a shape’s shadow is offset horizontally from the shape.
ShapeShdwOffsetYDoubleValueDetermines the distance in page units that a shape’s shadow is offset vertically from the shape.
ShapeShdwObliqueAngleDoubleValueSpecifies the angle of oblique direction of a shape’s shadow.
ShapeShdwScaleFactorDoubleValueSpecifies the percentage by which the shadow of a shape can be enlarged or reduced.
ShapeShdwBlurDoubleValueSpecifies the shadow blur size of a shape. cannot draw blur now, but can parse from vsdx now.

Methods

NameDescription
deepCloneCreates 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.