|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ThreeDFormat
public final class ThreeDFormat
Represents the 3D format of a shape.
Method Summary | |
---|---|
float |
getAmbientLightIntensity()
Returns the ambient light intensity. |
float |
getAngleX()
Returns the rotation angle around X axis. |
float |
getAngleY()
Returns the rotation angle around Y axis. |
float |
getDepth()
Returns the depth of a shape in points (1/72 of inch). |
float |
getDiffuseAmount()
Returns the amount of a diffuse lighting. |
float |
getDirectLightIntensity()
Returns the intensity of a direct light. |
int |
getDirectLightSourceX()
Returns the X coordinate of a direction-to-source vector of a direct light. |
int |
getDirectLightSourceY()
Returns the Y coordinate of a direction-to-source vector of a direct light. |
int |
getDirectLightSourceZ()
Returns the Z coordinate of a direction-to-source vector of a direct light. |
java.awt.Color |
getExtrusionColor()
Returns the color of a side surface of a shape. |
short |
getExtrusionColorIndex()
Returns the index of shadow's color in color scheme, -1 for scheme independent color or -2 if ExtrusionColor is not defined. |
int |
getExtrusionDirection()
Returns the direction of a shape extrusion. |
int |
getLightingDirection()
Returns the lighting direction. |
float |
getReflectedLightIntensity()
Returns the intensity of a reflected light. |
int |
getReflectedLightSourceX()
Returns the X coordinate of a direction-to-source vector of a reflected light. |
int |
getReflectedLightSourceY()
Returns the Y coordinate of a direction-to-source vector of a reflected light. |
int |
getReflectedLightSourceZ()
Returns the Z coordinate of a direction-to-source vector of a reflected light. |
short |
getSkewAmount()
Returns the amount of a skew in percents of a shape's depth. |
float |
getSkewAngle()
Returns the angle of a skew. |
int |
getThreeDRenderingType()
Returns the 3D rendering type of a shape. |
int |
getThreeDStyle()
Returns the 3D style of a shape. |
float |
getViewpointOffsetX()
Returns the X offset of a viewpoint in points (1/72 of inch). |
float |
getViewpointOffsetY()
Returns the Y offset of a viewpoint in points (1/72 of inch). |
float |
getViewpointOriginX()
Returns the X coordinate of a viewpoint origin. |
float |
getViewpointOriginY()
Returns the Y coordinate of a viewpoint origin. |
boolean |
isPerspectiveProjection()
Determines whether the perspective projection is used. |
boolean |
isVisible()
Determines whether the shape has 3D decoration. |
void |
setAmbientLightIntensity(float value)
Sets the ambient light intensity. |
void |
setAngleX(float value)
Sets the rotation angle around X axis. |
void |
setAngleY(float value)
Sets the rotation angle around Y axis. |
void |
setDepth(float value)
Sets the depth of a shape in points (1/72 of inch). |
void |
setDiffuseAmount(float value)
Sets the amount of a diffuse lighting. |
void |
setDirectLightIntensity(float value)
Sets the intensity of a direct light. |
void |
setDirectLightSourceX(int value)
Sets the X coordinate of a direction-to-source vector of a direct light. |
void |
setDirectLightSourceY(int value)
Sets the Y coordinate of a direction-to-source vector of a direct light. |
void |
setDirectLightSourceZ(int value)
Sets the Z coordinate of a direction-to-source vector of a direct light. |
void |
setExtrusionColor(java.awt.Color value)
Sets the color of a side surface of a shape. |
void |
setExtrusionColorIndex(short value)
Sets the index of shadow's color in color scheme, -1 for scheme independent color or -2 if ExtrusionColor is not defined. |
void |
setExtrusionDirection(int value)
Sets the direction of a shape extrusion. |
void |
setLightingDirection(int value)
Sets the lighting direction. |
void |
setPerspectiveProjection(boolean value)
Sets whether the perspective projection is used. |
void |
setReflectedLightIntensity(float value)
Sets the intensity of a reflected light. |
void |
setReflectedLightSourceX(int value)
Sets the X coordinate of a direction-to-source vector of a reflected light. |
void |
setReflectedLightSourceY(int value)
Sets the Y coordinate of a direction-to-source vector of a reflected light. |
void |
setReflectedLightSourceZ(int value)
Sets the Z coordinate of a direction-to-source vector of a reflected light. |
void |
setSkewAmount(short value)
Sets the amount of a skew in percents of a shape's depth. |
void |
setSkewAngle(float value)
Sets the angle of a skew. |
void |
setThreeDRenderingType(int value)
Sets the 3D rendering type of a shape. |
void |
setThreeDStyle(int value)
Sets the 3D style of a shape. |
void |
setViewpointOffsetX(float value)
Sets the X offset of a viewpoint in points (1/72 of inch). |
void |
setViewpointOffsetY(float value)
Sets the Y offset of a viewpoint in points (1/72 of inch). |
void |
setViewpointOriginX(float value)
Sets the X coordinate of a viewpoint origin. |
void |
setViewpointOriginY(float value)
Sets the Y coordinate of a viewpoint origin. |
void |
setVisible(boolean value)
Sets whether the shape has 3D decoration. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isVisible()
public void setVisible(boolean value)
value
- true if the shape has 3D decoration.public int getThreeDStyle()
ThreeDStyle
.public void setThreeDStyle(int value)
value
- the 3D style of a shape. See ThreeDStyle
.public int getThreeDRenderingType()
ThreeDRenderingType
.public void setThreeDRenderingType(int value)
value
- the 3D rendering type of a shape. See
ThreeDRenderingType
.public java.awt.Color getExtrusionColor()
public void setExtrusionColor(java.awt.Color value)
value
- the color of a side surface of a shape.public short getExtrusionColorIndex()
-1 for scheme independent color or
-2 if ExtrusionColor is not defined.
public void setExtrusionColorIndex(short value)
-1 for scheme independent color or
-2 if ExtrusionColor is not defined.
value
- the index of shadow's color.public float getDepth()
public void setDepth(float value)
value
- the depth of a shape in points (1/72 of inch).public float getAngleY()
public void setAngleY(float value)
value
- the rotation angle around Y axis.public float getAngleX()
public void setAngleX(float value)
value
- the rotation angle around X axis.public boolean isPerspectiveProjection()
public void setPerspectiveProjection(boolean value)
value
- true if perspective projection is used.public int getExtrusionDirection()
ExtrusionDirection
.
public void setExtrusionDirection(int value)
ExtrusionDirection
.
value
- the direction of a shape extrusion.public float getSkewAngle()
Note: This property is for advanced control only.
public void setSkewAngle(float value)
Note: This property is for advanced control only.
value
- the angle of a skew.public short getSkewAmount()
Note: This property is for advanced control only.
public void setSkewAmount(short value)
Note: This property is for advanced control only.
value
- the amount of a skew in percents of a shape's depth.public float getViewpointOriginX()
Note: This property is for advanced control only.
public void setViewpointOriginX(float value)
Note: This property is for advanced control only.
value
- the X coordinate of a viewpoint origin.public float getViewpointOriginY()
Note: This property is for advanced control only.
public void setViewpointOriginY(float value)
Note: This property is for advanced control only.
value
- the Y coordinate of a viewpoint origin.public float getViewpointOffsetX()
Note: This property is for advanced control only.
public void setViewpointOffsetX(float value)
Note: This property is for advanced control only.
value
- the X offset of a viewpoint in points (1/72 of inch).public float getViewpointOffsetY()
Note: This property is for advanced control only.
public void setViewpointOffsetY(float value)
Note: This property is for advanced control only.
value
- the Y offset of a viewpoint in points (1/72 of inch).public float getDiffuseAmount()
public void setDiffuseAmount(float value)
value
- the amount of a diffuse lighting.public int getLightingDirection()
LightingDirection
.public void setLightingDirection(int value)
value
- the lighting direction. See LightingDirection
.public float getAmbientLightIntensity()
public void setAmbientLightIntensity(float value)
value
- the ambient light intensity.public int getDirectLightSourceX()
public void setDirectLightSourceX(int value)
value
- the X coordinate of a direction-to-source vector of a direct
light.public int getDirectLightSourceY()
public void setDirectLightSourceY(int value)
value
- the Y coordinate of a direction-to-source vector of a direct
light.public int getDirectLightSourceZ()
public void setDirectLightSourceZ(int value)
value
- the Z coordinate of a direction-to-source vector of a direct
light.public float getDirectLightIntensity()
public void setDirectLightIntensity(float value)
value
- the intensity of a direct light.public int getReflectedLightSourceX()
public void setReflectedLightSourceX(int value)
value
- the X coordinate of a direction-to-source vector of a
reflected light.public int getReflectedLightSourceY()
public void setReflectedLightSourceY(int value)
value
- the Y coordinate of a direction-to-source vector of a
reflected light.public int getReflectedLightSourceZ()
public void setReflectedLightSourceZ(int value)
value
- the Z coordinate of a direction-to-source vector of a
reflected light.public float getReflectedLightIntensity()
public void setReflectedLightIntensity(float value)
value
- the intensity of a reflected light.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |