Fill

Inheritance: java.lang.Object

public class Fill

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

Methods

MethodDescription
deepClone()Creates deep copy of this instance.
equals(Object arg0)
getClass()
getDel()A flag indicating whether the element has been deleted locally.
getFillBkgnd()Specifies the color used for the background of the shape’s fill pattern.
getFillBkgndTrans()Specifies the transparency level for the background (fill) color of the shape’s fill pattern, from 0 (completely opaque) to 1 (completely transparent).
getFillForegnd()Specifies the color used for the foreground (stroke) of the shape’s fill pattern.
getFillForegndTrans()Specifies the transparency level for the foreground (fill) color of the shape’s fill pattern, from 0 (completely opaque) to 1 (completely transparent).
getFillPattern()Specifies the fill pattern for the shape.
getGradientFill()Contains the current gradient fill formatting values for the shape
getShapeShdwBlur()Specifies the shadow blur size of a shape.
getShapeShdwObliqueAngle()Specifies the angle of oblique direction of a shape’s shadow.
getShapeShdwOffsetX()Determines the distance in page units that a shape’s shadow is offset horizontally from the shape.
getShapeShdwOffsetY()Determines the distance in page units that a shape’s shadow is offset vertically from the shape.
getShapeShdwScaleFactor()Specifies the percentage by which the shadow of a shape can be enlarged or reduced.
getShapeShdwShow()Specifies the type of shadow for a shape.
getShapeShdwType()Specifies the type of shadow for a shape.
getShdwBkgnd()Specifies the color used for the background (fill) of the shape’s drop shadow fill pattern.
getShdwBkgndTrans()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).
getShdwForegnd()Specifies the color used for the foreground (stroke) of the shape’s drop shadow fill pattern.
getShdwForegndTrans()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).
getShdwPattern()Specifies the fill pattern for a shape’s shadow.
hashCode()
notify()
notifyAll()
setDel(int value)For the description of this property, please see getDel()
setFillBkgnd(ColorValue value)For the description of this property, please see getFillBkgnd()
setFillBkgndTrans(DoubleValue value)For the description of this property, please see getFillBkgndTrans()
setFillForegnd(ColorValue value)For the description of this property, please see getFillForegnd()
setFillForegndTrans(DoubleValue value)For the description of this property, please see getFillForegndTrans()
setFillPattern(IntValue value)For the description of this property, please see getFillPattern()
setShapeShdwBlur(DoubleValue value)For the description of this property, please see getShapeShdwBlur()
setShapeShdwObliqueAngle(DoubleValue value)For the description of this property, please see getShapeShdwObliqueAngle()
setShapeShdwOffsetX(DoubleValue value)For the description of this property, please see getShapeShdwOffsetX()
setShapeShdwOffsetY(DoubleValue value)For the description of this property, please see getShapeShdwOffsetY()
setShapeShdwScaleFactor(DoubleValue value)For the description of this property, please see getShapeShdwScaleFactor()
setShapeShdwShow(ShapeShdwShow value)For the description of this property, please see getShapeShdwShow()
setShapeShdwType(ShapeShdwType value)For the description of this property, please see getShapeShdwType()
setShdwBkgnd(ColorValue value)For the description of this property, please see getShdwBkgnd()
setShdwBkgndTrans(DoubleValue value)For the description of this property, please see getShdwBkgndTrans()
setShdwForegnd(ColorValue value)For the description of this property, please see getShdwForegnd()
setShdwForegndTrans(DoubleValue value)For the description of this property, please see getShdwForegndTrans()
setShdwPattern(IntValue value)For the description of this property, please see getShdwPattern()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

deepClone()

public Object deepClone()

Creates deep copy of this instance.

Returns: java.lang.Object -

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDel()

public int getDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

Returns: int

getFillBkgnd()

public ColorValue getFillBkgnd()

Specifies the color used for the background of the shape’s fill pattern.

Returns: ColorValue

getFillBkgndTrans()

public DoubleValue getFillBkgndTrans()

Specifies the transparency level for the background (fill) color of the shape’s fill pattern, from 0 (completely opaque) to 1 (completely transparent).

Returns: DoubleValue

getFillForegnd()

public ColorValue getFillForegnd()

Specifies the color used for the foreground (stroke) of the shape’s fill pattern.

Returns: ColorValue

getFillForegndTrans()

public DoubleValue getFillForegndTrans()

Specifies the transparency level for the foreground (fill) color of the shape’s fill pattern, from 0 (completely opaque) to 1 (completely transparent).

Returns: DoubleValue

getFillPattern()

public IntValue getFillPattern()

Specifies the fill pattern for the shape.

Returns: IntValue

getGradientFill()

public GradientFill getGradientFill()

Contains the current gradient fill formatting values for the shape

Returns: GradientFill

getShapeShdwBlur()

public DoubleValue getShapeShdwBlur()

Specifies the shadow blur size of a shape. cannot draw blur now, but can parse from vsdx now.

Returns: DoubleValue

getShapeShdwObliqueAngle()

public DoubleValue getShapeShdwObliqueAngle()

Specifies the angle of oblique direction of a shape’s shadow.

Returns: DoubleValue

getShapeShdwOffsetX()

public DoubleValue getShapeShdwOffsetX()

Determines the distance in page units that a shape’s shadow is offset horizontally from the shape.

Returns: DoubleValue

getShapeShdwOffsetY()

public DoubleValue getShapeShdwOffsetY()

Determines the distance in page units that a shape’s shadow is offset vertically from the shape.

Returns: DoubleValue

getShapeShdwScaleFactor()

public DoubleValue getShapeShdwScaleFactor()

Specifies the percentage by which the shadow of a shape can be enlarged or reduced.

Returns: DoubleValue

getShapeShdwShow()

public ShapeShdwShow getShapeShdwShow()

Specifies the type of shadow for a shape.

Returns: ShapeShdwShow

getShapeShdwType()

public ShapeShdwType getShapeShdwType()

Specifies the type of shadow for a shape.

Returns: ShapeShdwType

getShdwBkgnd()

public ColorValue getShdwBkgnd()

Specifies the color used for the background (fill) of the shape’s drop shadow fill pattern.

Returns: ColorValue

getShdwBkgndTrans()

public DoubleValue getShdwBkgndTrans()

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).

Returns: DoubleValue

getShdwForegnd()

public ColorValue getShdwForegnd()

Specifies the color used for the foreground (stroke) of the shape’s drop shadow fill pattern.

Returns: ColorValue

getShdwForegndTrans()

public DoubleValue getShdwForegndTrans()

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).

Returns: DoubleValue

getShdwPattern()

public IntValue getShdwPattern()

Specifies the fill pattern for a shape’s shadow.

Returns: IntValue

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setDel(int value)

public void setDel(int value)

For the description of this property, please see getDel()

Parameters:

ParameterTypeDescription
valueint

setFillBkgnd(ColorValue value)

public void setFillBkgnd(ColorValue value)

For the description of this property, please see getFillBkgnd()

Parameters:

ParameterTypeDescription
valueColorValue

setFillBkgndTrans(DoubleValue value)

public void setFillBkgndTrans(DoubleValue value)

For the description of this property, please see getFillBkgndTrans()

Parameters:

ParameterTypeDescription
valueDoubleValue

setFillForegnd(ColorValue value)

public void setFillForegnd(ColorValue value)

For the description of this property, please see getFillForegnd()

Parameters:

ParameterTypeDescription
valueColorValue

setFillForegndTrans(DoubleValue value)

public void setFillForegndTrans(DoubleValue value)

For the description of this property, please see getFillForegndTrans()

Parameters:

ParameterTypeDescription
valueDoubleValue

setFillPattern(IntValue value)

public void setFillPattern(IntValue value)

For the description of this property, please see getFillPattern()

Parameters:

ParameterTypeDescription
valueIntValue

setShapeShdwBlur(DoubleValue value)

public void setShapeShdwBlur(DoubleValue value)

For the description of this property, please see getShapeShdwBlur()

Parameters:

ParameterTypeDescription
valueDoubleValue

setShapeShdwObliqueAngle(DoubleValue value)

public void setShapeShdwObliqueAngle(DoubleValue value)

For the description of this property, please see getShapeShdwObliqueAngle()

Parameters:

ParameterTypeDescription
valueDoubleValue

setShapeShdwOffsetX(DoubleValue value)

public void setShapeShdwOffsetX(DoubleValue value)

For the description of this property, please see getShapeShdwOffsetX()

Parameters:

ParameterTypeDescription
valueDoubleValue

setShapeShdwOffsetY(DoubleValue value)

public void setShapeShdwOffsetY(DoubleValue value)

For the description of this property, please see getShapeShdwOffsetY()

Parameters:

ParameterTypeDescription
valueDoubleValue

setShapeShdwScaleFactor(DoubleValue value)

public void setShapeShdwScaleFactor(DoubleValue value)

For the description of this property, please see getShapeShdwScaleFactor()

Parameters:

ParameterTypeDescription
valueDoubleValue

setShapeShdwShow(ShapeShdwShow value)

public void setShapeShdwShow(ShapeShdwShow value)

For the description of this property, please see getShapeShdwShow()

Parameters:

ParameterTypeDescription
valueShapeShdwShow

setShapeShdwType(ShapeShdwType value)

public void setShapeShdwType(ShapeShdwType value)

For the description of this property, please see getShapeShdwType()

Parameters:

ParameterTypeDescription
valueShapeShdwType

setShdwBkgnd(ColorValue value)

public void setShdwBkgnd(ColorValue value)

For the description of this property, please see getShdwBkgnd()

Parameters:

ParameterTypeDescription
valueColorValue

setShdwBkgndTrans(DoubleValue value)

public void setShdwBkgndTrans(DoubleValue value)

For the description of this property, please see getShdwBkgndTrans()

Parameters:

ParameterTypeDescription
valueDoubleValue

setShdwForegnd(ColorValue value)

public void setShdwForegnd(ColorValue value)

For the description of this property, please see getShdwForegnd()

Parameters:

ParameterTypeDescription
valueColorValue

setShdwForegndTrans(DoubleValue value)

public void setShdwForegndTrans(DoubleValue value)

For the description of this property, please see getShdwForegndTrans()

Parameters:

ParameterTypeDescription
valueDoubleValue

setShdwPattern(IntValue value)

public void setShdwPattern(IntValue value)

For the description of this property, please see getShdwPattern()

Parameters:

ParameterTypeDescription
valueIntValue

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int