MsoFillFormat

Inheritance: java.lang.Object

public class MsoFillFormat

Represents fill formatting for a shape.

Methods

MethodDescription
equals(Object arg0)
getBackColor()Gets the file back color.
getClass()
getForeColor()Gets the fill fore color.
getImageData()Gets the Texture and Picture fill data.
getTexture()Gets the texture fill type.
getTransparency()Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).
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.
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.
setTransparency(double value)Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).
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

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

getTransparency()

public double getTransparency()

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

Returns: double

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

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.

setTransparency(double value)

public void setTransparency(double value)

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

Parameters:

ParameterTypeDescription
valuedouble

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