|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ShadowFormat
public final class ShadowFormat
Represents the shadow of a shape.
Method Summary | |
---|---|
java.awt.Color |
getLightColor()
Returns the additional light color of a shadow. |
short |
getLightColorIndex()
Returns the index of a light shadow's color in a color scheme. |
int |
getPerspectiveXNumerator()
Returns the X perspective coefficient numerator. |
int |
getPerspectiveYNumerator()
Returns the Y perspective coefficient numerator. |
float |
getSecondShadowOffsetX()
Returns the X coordinate of a secondary shadow's offset in points. |
float |
getSecondShadowOffsetY()
Returns the Y coordinate of a secondary shadow's offset in points. |
java.awt.Color |
getShadowColor()
Returns the color of a shadow. |
short |
getShadowColorIndex()
Returns the index of a shadow's color. |
float |
getShadowOffsetX()
Returns the X coordinate of a shadow's offset in points. |
float |
getShadowOffsetY()
Returns the Y coordinate of a shadow's offset in points. |
float |
getShadowOriginX()
Returns the X coordinate of transformation origin. |
float |
getShadowOriginY()
Returns the Y coordinate of transformation origin. |
int |
getShadowStyle()
Returns the style of a shadow. |
float |
getShadowTransformM11()
Returns (1, 1) element of shadow's transform matrix. |
float |
getShadowTransformM12()
Returns (1, 2) element of shadow's transform matrix. |
float |
getShadowTransformM21()
Returns (2, 1) element of shadow's transform matrix. |
float |
getShadowTransformM22()
Returns (2, 2) element of shadow's transform matrix. |
int |
getType()
Returns the type of a shadow. |
boolean |
isVisible()
Determines whether the shape has a shadow. |
void |
setLightColor(java.awt.Color value)
Sets the additional light color of a shadow. |
void |
setLightColorIndex(short value)
Sets the index of a light shadow's color in a color scheme. |
void |
setPerspectiveXNumerator(int value)
Sets the X perspective coefficient numerator. |
void |
setPerspectiveYNumerator(int value)
Sets the Y perspective coefficient numerator. |
void |
setSecondShadowOffsetX(float value)
Sets the X coordinate of a secondary shadow's offset in points. |
void |
setSecondShadowOffsetY(float value)
Sets the Y coordinate of a secondary shadow's offset in points. |
void |
setShadowColor(java.awt.Color value)
Sets the color of a shadow. |
void |
setShadowColorIndex(short value)
Sets the index of a shadow's color. |
void |
setShadowOffsetX(float value)
Sets the X coordinate of a shadow's offset in points. |
void |
setShadowOffsetY(float value)
Sets the Y coordinate of a shadow's offset in points. |
void |
setShadowOriginX(float value)
Sets the X coordinate of transformation origin. |
void |
setShadowOriginY(float value)
Sets the Y coordinate of transformation origin. |
void |
setShadowStyle(int value)
Sets the style of a shadow. |
void |
setShadowTransformM11(float value)
Sets (1, 1) element of shadow's transform matrix. |
void |
setShadowTransformM12(float value)
Sets (1, 2) element of shadow's transform matrix. |
void |
setShadowTransformM21(float value)
Sets (2, 1) element of shadow's transform matrix. |
void |
setShadowTransformM22(float value)
Sets (2, 2) element of shadow's transform matrix. |
void |
setType(int value)
Sets the type of a shadow. |
void |
setVisible(boolean value)
Sets whether the shape has a shadow. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.awt.Color getShadowColor()
public void setShadowColor(java.awt.Color value)
value
- the color of a shadow.public short getShadowColorIndex()
public void setShadowColorIndex(short value)
value
- the index of a shadow's color in a color scheme or -1 for the scheme independent color.public java.awt.Color getLightColor()
public void setLightColor(java.awt.Color value)
value
- the light color of a shadow.public short getLightColorIndex()
public void setLightColorIndex(short value)
value
- the index of a light shadow's color in color scheme or -1 for the scheme independent color.public float getShadowOffsetX()
public void setShadowOffsetX(float value)
value
- the X coordinate of a shadow's offset in points.public float getShadowOffsetY()
public void setShadowOffsetY(float value)
value
- the Y coordinate of a shadow's offset in points.public float getSecondShadowOffsetX()
public void setSecondShadowOffsetX(float value)
value
- the X coordinate of a secondary shadow's offset in points.public float getSecondShadowOffsetY()
public void setSecondShadowOffsetY(float value)
value
- the Y coordinate of a secondary shadow's offset in points.public float getShadowTransformM11()
public void setShadowTransformM11(float value)
value
- (1, 1) element of shadow's transform matrix.public float getShadowTransformM21()
public void setShadowTransformM21(float value)
value
- (2, 1) element of shadow's transform matrix.public float getShadowTransformM12()
public void setShadowTransformM12(float value)
value
- (1, 2) element of shadow's transform matrix.public float getShadowTransformM22()
public void setShadowTransformM22(float value)
value
- (2, 2) element of shadow's transform matrix.public int getPerspectiveXNumerator()
public void setPerspectiveXNumerator(int value)
value
- the X perspective coefficient numerator.public int getPerspectiveYNumerator()
public void setPerspectiveYNumerator(int value)
value
- the Y perspective coefficient numerator.public float getShadowOriginX()
0 means center of the shape,
-0.5 - left side of the shape,
0.5 - right side of the shape.
public void setShadowOriginX(float value)
0 means center of the shape,
-0.5 - left side of the shape,
0.5 - right side of the shape.
value
- the X coordinate of transformation origin.public float getShadowOriginY()
0 means center of the shape,
-0.5 - top of the shape,
0.5 - bottom of the shape.
public void setShadowOriginY(float value)
0 means center of the shape,
-0.5 - top of the shape,
0.5 - bottom of the shape.
value
- the Y coordinate of transformation origin.public boolean isVisible()
public void setVisible(boolean value)
value
- true if shape has a shadow.public int getType()
ShadowType
.public void setType(int value)
value
- the shadow type. See ShadowType
.public int getShadowStyle()
ShadowStyle
.public void setShadowStyle(int value)
value
- the shadow style. See ShadowStyle
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |