MsoFillFormatHelper
Inheritance: java.lang.Object
public class MsoFillFormatHelper
Represents fill formatting for a shape.
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
value | Color |
setForeColor(Color value)
public void setForeColor(Color value)
Sets the fill fore color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color |
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:
Parameter | Type | Description |
---|---|---|
value | double |
setImageData(byte[] value)
public void setImageData(byte[] value)
Sets the Texture and Picture fill data.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte[] |
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:
Parameter | Type | Description |
---|---|---|
color | Color | One gradient color. |
degree | double | The gradient degree. Can be a value from 0.0 (dark) through 1.0 (light). |
style | int | GradientStyleType. Gradient shading style. |
variant | int | The 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:
Parameter | Type | Description |
---|---|---|
value | boolean |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |