|
||||||||
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 3D formatting of a shape.
Method Summary | |
---|---|
float |
getAmbientLightIntensity()
Returns or sets the ambient light intensity. |
float |
getAngleX()
Returns or sets rotation angle around X axis. |
float |
getAngleY()
Returns or sets rotation angle around Y axis. |
float |
getDepth()
Returns or sets the depth of a shape in points (1/72 of inch). |
float |
getDiffuseAmount()
Returns or sets amount of diffuse lighting. |
float |
getDirectLightIntensity()
Returns or sets the intensity of a direct light. |
int |
getDirectLightSourceX()
Returns or sets the X component of direction-to-source vector for a direct light. |
int |
getDirectLightSourceY()
Returns or sets the Y component of direction-to-source vector for a direct light. |
int |
getDirectLightSourceZ()
Returns or sets the Z component of direction-to-source vector for a direct light. |
java.awt.Color |
getExtrusionColor()
|
short |
getExtrusionColorIndex()
Returns or sets the index of shadow's color in color scheme, <b>-1</b> for scheme independed color or
<b>-2</b> if ExtrusionColor is not defined. |
int |
getExtrusionDirection()
Returns or sets one of ExtrusionDirection preset. |
int |
getLightingDirection()
Returns or sets the one of light direction presets. |
boolean |
getPerspectiveProjection()
Determines whether perspective projection is used. |
float |
getReflectedLightIntensity()
Returns or sets the intensity of a reflected light. |
int |
getReflectedLightSourceX()
Returns or sets the X component of direction-to-source vector for a reflected light. |
int |
getReflectedLightSourceY()
Returns or sets the Y component of direction-to-source vector for a reflected light. |
int |
getReflectedLightSourceZ()
Returns or sets the Z component of direction-to-source vector for a reflected light. |
short |
getSkewAmount()
Returns or sets amount of skew in percents of shape's depth. |
float |
getSkewAngle()
Returns or sets the skew angle. |
int |
getThreeDRenderingType()
Returns or sets 3D rendering type. |
int |
getThreeDStyle()
Returns or sets current 3D preset. |
float |
getViewpointOffsetX()
Determines X component of viewpoint offset in points (1/72 of inch). |
float |
getViewpointOffsetY()
Determines Y component of viewpoint offset in points (1/72 of inch). |
float |
getViewpointOriginX()
Determines X component of viewpoint origin. |
float |
getViewpointOriginY()
Determines Y component of viewpoint origin. |
boolean |
getVisible()
Determines whether the shape has 3D decoration. |
void |
setAmbientLightIntensity(float value)
|
void |
setAngleX(float value)
|
void |
setAngleY(float value)
|
void |
setDepth(float value)
|
void |
setDiffuseAmount(float value)
|
void |
setDirectLightIntensity(float value)
|
void |
setDirectLightSourceX(int value)
|
void |
setDirectLightSourceY(int value)
|
void |
setDirectLightSourceZ(int value)
|
void |
setExtrusionColor(java.awt.Color value)
|
void |
setExtrusionColorIndex(short value)
|
void |
setExtrusionDirection(int value)
|
void |
setLightingDirection(int value)
|
void |
setPerspectiveProjection(boolean value)
|
void |
setReflectedLightIntensity(float value)
|
void |
setReflectedLightSourceX(int value)
|
void |
setReflectedLightSourceY(int value)
|
void |
setReflectedLightSourceZ(int value)
|
void |
setSkewAmount(short value)
|
void |
setSkewAngle(float value)
|
void |
setThreeDRenderingType(int value)
|
void |
setThreeDStyle(int value)
|
void |
setViewpointOffsetX(float value)
|
void |
setViewpointOffsetY(float value)
|
void |
setViewpointOriginX(float value)
|
void |
setViewpointOriginY(float value)
|
void |
setVisible(boolean value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean getVisible()
Determines whether the shape has 3D decoration.
Read/write bool
public void setVisible(boolean value)
public int getThreeDStyle()
Returns or sets current 3D preset.
Read/write Aspose.Slides.ThreeDStyle
public void setThreeDStyle(int value)
public int getThreeDRenderingType()
Returns or sets 3D rendering type.
Read/write ThreeDRenderingType
public void setThreeDRenderingType(int value)
public java.awt.Color getExtrusionColor()
public void setExtrusionColor(java.awt.Color value)
public short getExtrusionColorIndex()
Returns or sets the index of shadow's color in color scheme,
<b>-1</b>
for scheme independed color or
<b>-2</b>
if ExtrusionColor is not defined.
Read/Write short
public void setExtrusionColorIndex(short value)
public float getDepth()
Returns or sets the depth of a shape in points (1/72 of inch).
Read/write float
public void setDepth(float value)
public float getAngleY()
Returns or sets rotation angle around Y axis.
Read/write float
public void setAngleY(float value)
public float getAngleX()
Returns or sets rotation angle around X axis.
Read/write float
public void setAngleX(float value)
public boolean getPerspectiveProjection()
Determines whether perspective projection is used.
Read/write bool
public void setPerspectiveProjection(boolean value)
public int getExtrusionDirection()
Returns or sets one of ExtrusionDirection preset.
ExtrusionDirection determines which side faces of 3D shape will be visible.
Read/write Aspose.Slides.ExtrusionDirection
public void setExtrusionDirection(int value)
public float getSkewAngle()
Returns or sets the skew angle.
Used when projection is parallel to make visible side faces of the shape.
Value <b>0</b>
means there is no skew, to make angle equal to zero use <b>-360</b>
.
Note: This property is for advanced control only.
Use Aspose.Slides.ThreeDFormat.ExtrusionDirection
instead.
Read/write float
public void setSkewAngle(float value)
public short getSkewAmount()
Returns or sets amount of skew in percents of shape's depth.
Used when projection is parallel to make visible side faces of the shape.
Note: This property is for advanced control only.
Use Aspose.Slides.ThreeDFormat.ExtrusionDirection
instead.
Read/write short
public void setSkewAmount(short value)
public float getViewpointOriginX()
Determines X component of viewpoint origin.
Viewpoint origin X will be equal to Shape.X + ViewpointOriginX * Shape.Width.
Viewpoint determines so called "vanishing point" - point to which all lines,
parallel to Z axis will converge.
Used when projection is perspective to make visible side faces of shape.
Note: This property is for advanced control only.
Use Aspose.Slides.ThreeDFormat.ExtrusionDirection
instead.
Read/write float
public void setViewpointOriginX(float value)
public float getViewpointOriginY()
Determines Y component of viewpoint origin.
Viewpoint origin Y will be equal to Shape.Y + ViewpointOriginY * Shape.Height.
Viewpoint determines so called "vanishing point" - point to which all lines,
parallel to Z axis will converge.
Used when projection is perspective to make visible side faces of shape.
Note: This property is for advanced control only.
Use Aspose.Slides.ThreeDFormat.ExtrusionDirection
instead.
Read/write float
public void setViewpointOriginY(float value)
public float getViewpointOffsetX()
Determines X component of viewpoint offset in points (1/72 of inch).
Viewpoint determines so called "vanishing point" - point to which all lines,
parallel to Z axis will converge.
Used when projection is perspective to make visible side faces of shape.
Note: This property is for advanced control only.
Use Aspose.Slides.ThreeDFormat.ExtrusionDirection
instead.
Read/write float
public void setViewpointOffsetX(float value)
public float getViewpointOffsetY()
Determines Y component of viewpoint offset in points (1/72 of inch).
Viewpoint determines so called "vanishing point" - point to which all lines,
parallel to Z axis will converge.
Used when projection is perspective to make visible side faces of shape.
Note: This property is for advanced control only.
Use Aspose.Slides.ThreeDFormat.ExtrusionDirection
instead.
Read/write float
public void setViewpointOffsetY(float value)
public float getDiffuseAmount()
Returns or sets amount of diffuse lighting.
Read/write float
public void setDiffuseAmount(float value)
public int getLightingDirection()
Returns or sets the one of light direction presets.
Read/write Aspose.Slides.LightingDirection
public void setLightingDirection(int value)
public float getAmbientLightIntensity()
Returns or sets the ambient light intensity.
Read/write float
public void setAmbientLightIntensity(float value)
public int getDirectLightSourceX()
Returns or sets the X component of direction-to-source vector for a direct light.
Read/write int
public void setDirectLightSourceX(int value)
public int getDirectLightSourceY()
Returns or sets the Y component of direction-to-source vector for a direct light.
Read/write int
public void setDirectLightSourceY(int value)
public int getDirectLightSourceZ()
Returns or sets the Z component of direction-to-source vector for a direct light.
Read/write int
public void setDirectLightSourceZ(int value)
public float getDirectLightIntensity()
Returns or sets the intensity of a direct light.
Read/write float
public void setDirectLightIntensity(float value)
public int getReflectedLightSourceX()
Returns or sets the X component of direction-to-source vector for a reflected light.
Read/write int
public void setReflectedLightSourceX(int value)
public int getReflectedLightSourceY()
Returns or sets the Y component of direction-to-source vector for a reflected light.
Read/write int
public void setReflectedLightSourceY(int value)
public int getReflectedLightSourceZ()
Returns or sets the Z component of direction-to-source vector for a reflected light.
Read/write int
public void setReflectedLightSourceZ(int value)
public float getReflectedLightIntensity()
Returns or sets the intensity of a reflected light.
Reflected light is used to emulate lighting from first reflections from surrounding objects. Contrary to a direct light, the reflected ligth has many sources, so its lesser depends on light falling angle.
Read/write float
public void setReflectedLightIntensity(float value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |