com.aspose.diagram

  • java.lang.Object
    • com.aspose.diagram.Fill
  • All Implemented Interfaces:
    com.aspose.diagram.b.a.h, java.lang.Cloneable
    public class Fill 
    extends java.lang.Object

Contains the current fill formatting values for the shape and the shape's drop shadow, including pattern, foreground color, and background color.

Property Getters/Setters Summary
intgetDel()
void
setDel(intvalue)
           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.
ColorValuegetFillBkgnd()
void
           Specifies the color used for the background of the shape's fill pattern.
DoubleValuegetFillBkgndTrans()
void
           Specifies the transparency level for the background (fill) color of the shape's fill pattern, from 0 (completely opaque) to 1 (completely transparent).
ColorValuegetFillForegnd()
void
           Specifies the color used for the foreground (stroke) of the shape's fill pattern.
DoubleValuegetFillForegndTrans()
void
           Specifies the transparency level for the foreground (fill) color of the shape's fill pattern, from 0 (completely opaque) to 1 (completely transparent).
IntValuegetFillPattern()
void
           Specifies the fill pattern for the shape.
GradientFillgetGradientFill()
Contains the current gradient fill formatting values for the shape
DoubleValuegetShapeShdwObliqueAngle()
void
           Specifies the angle of oblique direction of a shape's shadow.
DoubleValuegetShapeShdwOffsetX()
void
           Determines the distance in page units that a shape's shadow is offset horizontally from the shape.
DoubleValuegetShapeShdwOffsetY()
void
           Determines the distance in page units that a shape's shadow is offset vertically from the shape.
DoubleValuegetShapeShdwScaleFactor()
void
           Specifies the percentage by which the shadow of a shape can be enlarged or reduced.
ShapeShdwShowgetShapeShdwShow()
void
           Specifies the type of shadow for a shape.
ShapeShdwTypegetShapeShdwType()
void
           Specifies the type of shadow for a shape.
ColorValuegetShdwBkgnd()
void
           Specifies the color used for the background (fill) of the shape's drop shadow fill pattern.
DoubleValuegetShdwBkgndTrans()
void
           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).
ColorValuegetShdwForegnd()
void
           Specifies the color used for the foreground (stroke) of the shape's drop shadow fill pattern.
DoubleValuegetShdwForegndTrans()
void
           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).
IntValuegetShdwPattern()
void
           Specifies the fill pattern for a shape's shadow.
 
Method Summary
java.lang.ObjectdeepClone()
Creates deep copy of this instance.
 

    • Property Getters/Setters Detail

      • getDel/setDel

        public int getDel() / public void setDel(int value)
        
        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.
      • getFillForegnd/setFillForegnd

        public ColorValue getFillForegnd() / public void setFillForegnd(ColorValue value)
        
        Specifies the color used for the foreground (stroke) of the shape's fill pattern.
      • getGradientFill

        public GradientFill getGradientFill()
        
        Contains the current gradient fill formatting values for the shape
      • getFillBkgnd/setFillBkgnd

        public ColorValue getFillBkgnd() / public void setFillBkgnd(ColorValue value)
        
        Specifies the color used for the background of the shape's fill pattern.
      • getFillPattern/setFillPattern

        public IntValue getFillPattern() / public void setFillPattern(IntValue value)
        
        Specifies the fill pattern for the shape.
      • getShdwForegnd/setShdwForegnd

        public ColorValue getShdwForegnd() / public void setShdwForegnd(ColorValue value)
        
        Specifies the color used for the foreground (stroke) of the shape's drop shadow fill pattern.
      • getShdwBkgnd/setShdwBkgnd

        public ColorValue getShdwBkgnd() / public void setShdwBkgnd(ColorValue value)
        
        Specifies the color used for the background (fill) of the shape's drop shadow fill pattern.
      • getShdwPattern/setShdwPattern

        public IntValue getShdwPattern() / public void setShdwPattern(IntValue value)
        
        Specifies the fill pattern for a shape's shadow.
      • getFillForegndTrans/setFillForegndTrans

        public DoubleValue getFillForegndTrans() / public void setFillForegndTrans(DoubleValue value)
        
        Specifies the transparency level for the foreground (fill) color of the shape's fill pattern, from 0 (completely opaque) to 1 (completely transparent).
      • getFillBkgndTrans/setFillBkgndTrans

        public DoubleValue getFillBkgndTrans() / public void setFillBkgndTrans(DoubleValue value)
        
        Specifies the transparency level for the background (fill) color of the shape's fill pattern, from 0 (completely opaque) to 1 (completely transparent).
      • getShdwForegndTrans/setShdwForegndTrans

        public DoubleValue getShdwForegndTrans() / public void setShdwForegndTrans(DoubleValue value)
        
        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).
      • getShdwBkgndTrans/setShdwBkgndTrans

        public DoubleValue getShdwBkgndTrans() / public void setShdwBkgndTrans(DoubleValue value)
        
        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).
      • getShapeShdwType/setShapeShdwType

        public ShapeShdwType getShapeShdwType() / public void setShapeShdwType(ShapeShdwType value)
        
        Specifies the type of shadow for a shape.
      • getShapeShdwShow/setShapeShdwShow

        public ShapeShdwShow getShapeShdwShow() / public void setShapeShdwShow(ShapeShdwShow value)
        
        Specifies the type of shadow for a shape.
      • getShapeShdwOffsetX/setShapeShdwOffsetX

        public DoubleValue getShapeShdwOffsetX() / public void setShapeShdwOffsetX(DoubleValue value)
        
        Determines the distance in page units that a shape's shadow is offset horizontally from the shape.
      • getShapeShdwOffsetY/setShapeShdwOffsetY

        public DoubleValue getShapeShdwOffsetY() / public void setShapeShdwOffsetY(DoubleValue value)
        
        Determines the distance in page units that a shape's shadow is offset vertically from the shape.
      • getShapeShdwObliqueAngle/setShapeShdwObliqueAngle

        public DoubleValue getShapeShdwObliqueAngle() / public void setShapeShdwObliqueAngle(DoubleValue value)
        
        Specifies the angle of oblique direction of a shape's shadow.
      • getShapeShdwScaleFactor/setShapeShdwScaleFactor

        public DoubleValue getShapeShdwScaleFactor() / public void setShapeShdwScaleFactor(DoubleValue value)
        
        Specifies the percentage by which the shadow of a shape can be enlarged or reduced.
    • Method Detail

      • deepClone

        public java.lang.Object deepClone()
                        throws java.lang.Exception
        Creates deep copy of this instance.
        Returns: