MsoFillFormatHelper

Inheritance: java.lang.Object

public class MsoFillFormatHelper

Represents fill formatting for a shape.

Methods

MethodDescription
equals(Object arg0)
getBackColor()Gets the file back color.
getClass()
getForeColor()Gets the fill fore color.
getForeColorTransparency()Returns or sets the degree of fore color of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).
getImageData()Gets the Texture and Picture fill data.
getTexture()Gets the texture fill type.
hashCode()
isVisible()Indicates whether there is fill.
notify()
notifyAll()
setBackColor(Color value)Sets the file back color.
setForeColor(Color value)Sets the fill fore color.
setForeColorTransparency(double value)Returns or sets the degree of fore color of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).
setImageData(byte[] value)Sets the Texture and Picture fill data.
setOneColorGradient(Color color, double degree, int style, int variant)Sets the specified fill to a one-color gradient.
setVisible(boolean value)Indicates whether there is fill.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBackColor()

public Color getBackColor()

Gets the file back color.

Returns: Color

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getForeColor()

public Color getForeColor()

Gets the fill fore color.

Returns: Color

getForeColorTransparency()

public double getForeColorTransparency()

Returns or sets the degree of fore color of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).

Returns: double

getImageData()

public byte[] getImageData()

Gets the Texture and Picture fill data.

Returns: byte[]

getTexture()

public int getTexture()

Gets the texture fill type.

See TextureType.

Returns: int

hashCode()

public native int hashCode()

Returns: int

isVisible()

public boolean isVisible()

Indicates whether there is fill.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBackColor(Color value)

public void setBackColor(Color value)

Sets the file back color.

Parameters:

ParameterTypeDescription
valueColor

setForeColor(Color value)

public void setForeColor(Color value)

Sets the fill fore color.

Parameters:

ParameterTypeDescription
valueColor

setForeColorTransparency(double value)

public void setForeColorTransparency(double value)

Returns or sets the degree of fore color of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).

Parameters:

ParameterTypeDescription
valuedouble

setImageData(byte[] value)

public void setImageData(byte[] value)

Sets the Texture and Picture fill data.

Parameters:

ParameterTypeDescription
valuebyte[]

setOneColorGradient(Color color, double degree, int style, int variant)

public void setOneColorGradient(Color color, double degree, int style, int variant)

Sets the specified fill to a one-color gradient.

Parameters:

ParameterTypeDescription
colorColorOne gradient color.
degreedoubleThe gradient degree. Can be a value from 0.0 (dark) through 1.0 (light).
styleintGradientStyleType. Gradient shading style.
variantintThe gradient variant. Can be a value from 1 through 4, corresponding to one of the four variants on the Gradient tab in the Fill Effects dialog box. If style is GradientStyle.FromCenter, the Variant argument can only be 1 or 2.

setVisible(boolean value)

public void setVisible(boolean value)

Indicates whether there is fill.

Parameters:

ParameterTypeDescription
valueboolean

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