Fill Class
Contains the current fill formatting values for the shape and the shape's drop shadow, including pattern, foreground color, and background color.
Inheritance Hierarchy
SystemObject
  Aspose.DiagramFill

Namespace: Aspose.Diagram
Assembly: Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.2.0.0 (20.2)
Syntax
public class Fill : ICloneable

The Fill type exposes the following members.

Properties
  NameDescription
Public propertyDel
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.
Public propertyFillBkgnd
Specifies the color used for the background of the shape's fill pattern.
Public propertyFillBkgndTrans
Specifies the transparency level for the background (fill) color of the shape's fill pattern, from 0 (completely opaque) to 1 (completely transparent).
Public propertyFillForegnd
Specifies the color used for the foreground (stroke) of the shape's fill pattern.
Public propertyFillForegndTrans
Specifies the transparency level for the foreground (fill) color of the shape's fill pattern, from 0 (completely opaque) to 1 (completely transparent).
Public propertyFillPattern
Specifies the fill pattern for the shape.
Public propertyGradientFill
Contains the current gradient fill formatting values for the shape
Public propertyShapeShdwObliqueAngle
Specifies the angle of oblique direction of a shape's shadow.
Public propertyShapeShdwOffsetX
Determines the distance in page units that a shape's shadow is offset horizontally from the shape.
Public propertyShapeShdwOffsetY
Determines the distance in page units that a shape's shadow is offset vertically from the shape.
Public propertyShapeShdwScaleFactor
Specifies the percentage by which the shadow of a shape can be enlarged or reduced.
Public propertyShapeShdwShow
Specifies the type of shadow for a shape.
Public propertyShapeShdwType
Specifies the type of shadow for a shape.
Public propertyShdwBkgnd
Specifies the color used for the background (fill) of the shape's drop shadow fill pattern.
Public propertyShdwBkgndTrans
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).
Public propertyShdwForegnd
Specifies the color used for the foreground (stroke) of the shape's drop shadow fill pattern.
Public propertyShdwForegndTrans
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).
Public propertyShdwPattern
Specifies the fill pattern for a shape's shadow.
Methods
  NameDescription
Public methodClone
Creates deep copy of this instance.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also