public class MsoFillFormat
Property Getters/Setters Summary | ||
---|---|---|
com.aspose.cells.Color | getBackColor() | |
void | setBackColor(com.aspose.cells.Colorvalue) | |
Gets and sets the file back color. | ||
com.aspose.cells.Color | getForeColor() | |
void | setForeColor(com.aspose.cells.Colorvalue) | |
Gets and sets the fill fore color. | ||
byte[] | getImageData() | |
void | setImageData(byte[]value) | |
Gets and sets the Texture and Picture fill data. | ||
boolean | isVisible() | |
void | setVisible(booleanvalue) | |
Indicats whether there is fill. | ||
int | getTexture() | |
Gets the texture fill type.
The value of the property is TextureType integer constant. |
||
double | getTransparency() | |
void | setTransparency(doublevalue) | |
Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear). |
Method Summary | ||
---|---|---|
void | setOneColorGradient(com.aspose.cells.Color color, double degree, int style, int variant) | |
Sets the specified fill to a one-color gradient.
|
public com.aspose.cells.Color getForeColor() / public void setForeColor(com.aspose.cells.Color value)
public double getTransparency() / public void setTransparency(double value)
public com.aspose.cells.Color getBackColor() / public void setBackColor(com.aspose.cells.Color value)
public byte[] getImageData() / public void setImageData(byte[] value)
public int getTexture()
public boolean isVisible() / public void setVisible(boolean value)
public void setOneColorGradient(com.aspose.cells.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
- A 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.