MsoFillFormat
Inheritance: java.lang.Object
public class MsoFillFormat
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. |
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:
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
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:
Parameter | Type | Description |
---|---|---|
value | Color |
setForeColor(Color value)
public void setForeColor(Color value)
Sets the fill fore color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color |
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. |
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:
Parameter | Type | Description |
---|---|---|
value | double |
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 |