|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.doc.fields.shape.vmlfill
public class vmlfill
defines a fill for a shape.
use the shape.fill property to access fill properties of a shape. you do not create instances of the fill class directly.
although the fill class provides properties to specify solid color fill only, all of the more complex fill types, including as gradient, pattern and texture are fully preserved during document open-save cycles.
shape.fill
method summary | |
---|---|
java.awt.color |
getcolor()
defines the color of a fill. |
byte[] |
getimagebytes()
gets the raw bytes of the fill texture or pattern. |
boolean |
geton()
determines whether the shape will be filled. |
double |
getopacity()
defines the transparency of a fill. |
void |
setcolor(java.awt.color value)
sets the color of a fill. |
void |
seton(boolean value)
sets whether the shape will be filled. |
void |
setopacity(double value)
|
method detail |
---|
public java.awt.color getcolor()
the default value is system.drawing.color.white java.awt.color.white
public void setcolor(java.awt.color value)
the default value is system.drawing.color.white java.awt.color.white
value
- java.awt.colorpublic double getopacity()
the default value is 1.
public void setopacity(double value)
public boolean geton()
the default value is true.
public void seton(boolean value)
the default value is true.
value
- booleanpublic byte[] getimagebytes()
the default value is null.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |