Property Getters/Setters Summary | ||
---|---|---|
method | getBackColor() | |
method | setBackColor(value) | |
Gets and sets the file back color. | ||
method | getForeColor() | |
method | setForeColor(value) | |
Gets and sets the fill fore color. | ||
method | getImageData() | |
method | setImageData(value) | |
Gets and sets the Texture and Picture fill data. | ||
method | isVisible() | |
method | setVisible(value) | |
Indicates whether there is fill. | ||
method | getTexture() | |
Gets the texture fill type.
The value of the property is TextureType integer constant. |
||
method | getTransparency() | |
method | setTransparency(value) | |
Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear). |
Method Summary | ||
---|---|---|
method | setOneColorGradient(color, degree, style, variant) | |
Sets the specified fill to a one-color gradient.
|
Color getForeColor() / setForeColor(value)
float getTransparency() / setTransparency(value)
Color getBackColor() / setBackColor(value)
byte[] getImageData() / setImageData(value)
int getTexture()
boolean isVisible() / setVisible(value)
setOneColorGradient(color, degree, style, variant)
color: Color
- One gradient color.degree: float
- The gradient degree. Can be a value from 0.0 (dark) through 1.0 (light).style: int
- A 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.