com.aspose.diagram
Class Fill

java.lang.Object
    extended by com.aspose.diagram.Fill
All Implemented Interfaces:
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()
voidsetDel(int)
           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()
voidsetFillBkgnd(ColorValue)
           Specifies the color used for the background of the shape's fill pattern.
DoubleValuegetFillBkgndTrans()
voidsetFillBkgndTrans(DoubleValue)
           Specifies the transparency level for the background (fill) color of the shape's fill pattern, from 0 (completely opaque) to 1 (completely transparent).
ColorValuegetFillForegnd()
voidsetFillForegnd(ColorValue)
           Specifies the color used for the foreground (stroke) of the shape's fill pattern.
DoubleValuegetFillForegndTrans()
voidsetFillForegndTrans(DoubleValue)
           Specifies the transparency level for the foreground (fill) color of the shape's fill pattern, from 0 (completely opaque) to 1 (completely transparent).
IntValuegetFillPattern()
voidsetFillPattern(IntValue)
           Specifies the fill pattern for the shape.
GradientFillgetGradientFill()
           Contains the current gradient fill formatting values for the shape
DoubleValuegetShapeShdwBlur()
voidsetShapeShdwBlur(DoubleValue)
           Specifies the shadow blur size of a shape. cannot draw blur now, but can parse from vsdx now.
DoubleValuegetShapeShdwObliqueAngle()
voidsetShapeShdwObliqueAngle(DoubleValue)
           Specifies the angle of oblique direction of a shape's shadow.
DoubleValuegetShapeShdwOffsetX()
voidsetShapeShdwOffsetX(DoubleValue)
           Determines the distance in page units that a shape's shadow is offset horizontally from the shape.
DoubleValuegetShapeShdwOffsetY()
voidsetShapeShdwOffsetY(DoubleValue)
           Determines the distance in page units that a shape's shadow is offset vertically from the shape.
DoubleValuegetShapeShdwScaleFactor()
voidsetShapeShdwScaleFactor(DoubleValue)
           Specifies the percentage by which the shadow of a shape can be enlarged or reduced.
ShapeShdwShowgetShapeShdwShow()
voidsetShapeShdwShow(ShapeShdwShow)
           Specifies the type of shadow for a shape.
ShapeShdwTypegetShapeShdwType()
voidsetShapeShdwType(ShapeShdwType)
           Specifies the type of shadow for a shape.
ColorValuegetShdwBkgnd()
voidsetShdwBkgnd(ColorValue)
           Specifies the color used for the background (fill) of the shape's drop shadow fill pattern.
DoubleValuegetShdwBkgndTrans()
voidsetShdwBkgndTrans(DoubleValue)
           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()
voidsetShdwForegnd(ColorValue)
           Specifies the color used for the foreground (stroke) of the shape's drop shadow fill pattern.
DoubleValuegetShdwForegndTrans()
voidsetShdwForegndTrans(DoubleValue)
           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()
voidsetShdwPattern(IntValue)
           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.

getShapeShdwBlur/setShapeShdwBlur

public DoubleValue getShapeShdwBlur() / public void setShapeShdwBlur(DoubleValue value)
Specifies the shadow blur size of a shape. cannot draw blur now, but can parse from vsdx now.

Method Detail

deepClone

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

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.