public class MsoFillFormat
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Color |
getBackColor()
Gets the file back color.
|
Color |
getForeColor()
Gets the fill fore color.
|
byte[] |
getImageData()
Gets the Texture and Picture fill data.
|
int |
getTexture()
Gets the texture fill type.
|
double |
getTransparency()
Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).
|
boolean |
isVisible()
Indicates whether there is fill.
|
void |
setBackColor(Color value)
Sets the file back color.
|
void |
setForeColor(Color value)
Sets the fill fore color.
|
void |
setImageData(byte[] value)
Sets the Texture and Picture fill data.
|
void |
setOneColorGradient(Color color,
double degree,
int style,
int variant)
Sets the specified fill to a one-color gradient.
|
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).
|
void |
setVisible(boolean value)
Indicates whether there is fill.
|
public Color getForeColor()
public void setForeColor(Color value)
public double getTransparency()
public void setTransparency(double value)
public Color getBackColor()
public void setBackColor(Color value)
public byte[] getImageData()
public void setImageData(byte[] value)
public void setOneColorGradient(Color color, double degree, int style, int variant)
color - One gradient color.degree - The gradient degree. Can be a value from 0.0 (dark) through 1.0 (light).style - GradientStyleType. Gradient shading style.variant - 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.public int getTexture()
See TextureType.
public boolean isVisible()
public void setVisible(boolean value)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.