All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.MsoFillFormat.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





MsoFillFormat




com.aspose.cells
Class MsoFillFormat

java.lang.Object
    extended by com.aspose.cells.MsoFillFormat

public class MsoFillFormat 
extends java.lang.Object

Represents fill formatting for a shape.


Property Getters/Setters Summary
com.aspose.cells.ColorgetBackColor()
voidsetBackColor(com.aspose.cells.Color)
           Gets and sets the file back color.
com.aspose.cells.ColorgetForeColor()
voidsetForeColor(com.aspose.cells.Color)
           Gets and sets the fill fore color.
byte[]getImageData()
voidsetImageData(byte[])
           Gets and sets the Texture and Picture fill data.
booleanisVisible()
voidsetVisible(boolean)
           Indicates whether there is fill.
intgetTexture()
           Gets the texture fill type. The value of the property is TextureType integer constant.
doublegetTransparency()
voidsetTransparency(double)
           Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).
 
Method Summary
voidsetOneColorGradient(com.aspose.cells.Color color, double degree, int style, int variant)
           Sets the specified fill to a one-color gradient.
 

Property Getters/Setters Detail

getForeColor/setForeColor

public com.aspose.cells.Color getForeColor() / public void setForeColor(com.aspose.cells.Color value)
Gets and sets the fill fore color.

setForeColor

public void setForeColor(com.aspose.cells.Color value)
Gets and sets the fill fore color.

getTransparency/setTransparency

public double getTransparency() / 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).

setTransparency

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).

getBackColor/setBackColor

public com.aspose.cells.Color getBackColor() / public void setBackColor(com.aspose.cells.Color value)
Gets and sets the file back color.

setBackColor

public void setBackColor(com.aspose.cells.Color value)
Gets and sets the file back color.

getImageData/setImageData

public byte[] getImageData() / public void setImageData(byte[] value)
Gets and sets the Texture and Picture fill data.

setImageData

public void setImageData(byte[] value)
Gets and sets the Texture and Picture fill data.

getTexture

public int getTexture()
Gets the texture fill type. The value of the property is TextureType integer constant.

isVisible/setVisible

public boolean isVisible() / public void setVisible(boolean value)
Indicates whether there is fill.

setVisible

public void setVisible(boolean value)
Indicates whether there is fill.

Method Detail

setOneColorGradient

public void setOneColorGradient(com.aspose.cells.Color color, double degree, int style, int variant)
Sets the specified fill to a one-color gradient.
Parameters:
color - One gradient color.
degree - The gradient degree. Can be a value from 0.0 (dark) through 1.0 (light).
style - A GradientStyleType value. 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.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy