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.