|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.FillFormat
public final class FillFormat
Represents a fill formatting.
Constructor Summary | |
---|---|
protected |
FillFormat(java.lang.Object shape)
|
Method Summary | |
---|---|
java.awt.Color |
getBackColor()
Returns the background color for the current fill type. |
java.awt.Color |
getForeColor()
Returns the foreground color for the current fill type.. |
int |
getGradientColorType()
Returns the gradient color type for the current gradient. |
int |
getGradientDegree()
Returns the gradient degree for the ONE_COLOR gradients. 0-19 values. 0 - black, 19 - white. |
int |
getGradientFillAngle()
Returns the fill angle (0-179). |
int |
getGradientFillFocus()
Returns the fill focus shift for a gradients. |
int |
getGradientPreset()
|
int |
getGradientStyle()
Returns the gradient style for the current gradient. |
int |
getPatternStyle()
Returns the pattern style. |
int |
getPictureId()
Returns the picture id for the picture fill style. |
int |
getType()
Returns the fill type for a shape. |
void |
setBackColor(java.awt.Color value)
Sets the background color for the current fill type. |
void |
setForeColor(java.awt.Color value)
Sets the foreground color for the current fill type. |
void |
setGradientColorType(int value)
Sets the gradient color type for the current gradient. |
void |
setGradientDegree(int value)
Sets the gradient degree for the ONE_COLOR gradients. 0-19 values. 0 - black, 19 - white. |
void |
setGradientFillAngle(int value)
Sets the fill angle (0-179). |
void |
setGradientFillFocus(int value)
Sets the fill focus shift for a gradients. |
void |
setGradientPreset(int value)
|
void |
setGradientStyle(int value)
Sets the gradient style for the current gradient. |
void |
setPatternStyle(int value)
Sets the pattern style. |
void |
setPictureId(int value)
Sets the picture id for the picture fill style. |
void |
setTextureStyle(int value)
Sets the texture style. |
void |
setType(int value)
Sets the fill type for a shape. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected FillFormat(java.lang.Object shape)
Method Detail |
---|
public int getType()
FillType
.public void setType(int value) throws PptReadException
value
- new fill type. See FillType
.
PptReadException
- if standard textures or patterns can't be loaded from resource.public java.awt.Color getForeColor()
public void setForeColor(java.awt.Color value)
value
- new foreground color.public java.awt.Color getBackColor()
public void setBackColor(java.awt.Color value)
value
- background color.public int getGradientColorType()
GradientColorType
.public void setGradientColorType(int value) throws PptReadException
value
- new gradient color type. See GradientColorType
.
PptReadException
public int getGradientPreset()
public void setGradientPreset(int value) throws PptReadException
PptReadException
public int getGradientDegree()
public void setGradientDegree(int value)
value
- new gradient degree.public int getGradientStyle()
GradientStyle
.public void setGradientStyle(int value)
value
- new gradient style. See GradientStyle
.public int getGradientFillFocus()
public void setGradientFillFocus(int value) throws PptPropertyException
value
- new fill focus shift.
PptPropertyException
public int getGradientFillAngle()
public void setGradientFillAngle(int value) throws PptPropertyException
value
- new fill angle.
PptPropertyException
public int getPatternStyle() throws PptReadException
PatternStyle
.
PptReadException
- on pattern resources reading error.public void setPatternStyle(int value) throws PptException
value
- new pattern style. See PatternStyle
.
PptException
- on pattern resources reading error.public void setTextureStyle(int value) throws PptException
value
- new texture style. See TextureStyle
.
PptException
- on texture resources reading error.public int getPictureId()
public void setPictureId(int value)
value
- new picture id.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |