Package com.independentsoft.office.vml
Class Extrusion
java.lang.Object
com.independentsoft.office.vml.Extrusion
- All Implemented Interfaces:
IContentElement,IGroupElement,IShapeElement,IVmlElement
The Class Extrusion.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new extrusion.Extrusion(InternalXMLStreamReader reader)Instantiates a new extrusion. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the backward depth.Gets the brightness.getColor()Gets the color.Gets the color mode.Gets the diffuse reflection.getEdge()Gets the edge.Gets the extension handling behavior.Gets the faceting quality.Gets the forward depth.Gets the orientation.doubleGets the orientation angle.getPlane()Gets the plane.Gets the primary light level.Gets the primary light position.Gets the render mode.Gets the rotation angle.Gets the rotation center.Gets the secondary light level.Gets the secondary light position.doubleGets the shininess.getSkew()Gets the skew.doubleGets the skew angle.Gets the specularity.getType()Gets the type.Gets the viewpoint.Gets the viewpoint origin.booleanChecks if is auto rotation center.booleanChecks if is display.booleanChecks if is light face.booleanChecks if is lock rotation center.booleanChecks if is metallic surface.booleanChecks if is primary light harshness.booleanChecks if is secondary light harshness.voidsetAutoRotationCenter(boolean autoRotationCenter)Sets the auto rotation center.voidsetBackwardDepth(String backwardDepth)Sets the backward depth.voidsetBrightness(String brightness)Sets the brightness.voidSets the color.voidsetColorMode(ColorMode colorMode)Sets the color mode.voidsetDiffuseReflection(String diffuseReflection)Sets the diffuse reflection.voidsetDisplay(boolean display)Sets the display.voidSets the edge.voidsetExtensionHandlingBehavior(ExtensionHandlingBehavior extensionHandlingBehavior)Sets the extension handling behavior.voidsetFacetingQuality(String facetingQuality)Sets the faceting quality.voidsetForwardDepth(String forwardDepth)Sets the forward depth.voidsetLightFace(boolean lightFace)Sets the light face.voidsetLockRotationCenter(boolean lockRotationCenter)Sets the lock rotation center.voidsetMetallicSurface(boolean metallicSurface)Sets the metallic surface.voidsetOrientation(String orientation)Sets the orientation.voidsetOrientationAngle(double orientationAngle)Sets the orientation angle.voidsetPlane(ExtrusionPlane plane)Sets the plane.voidsetPrimaryLightHarshness(boolean primaryLightHarshness)Sets the primary light harshness.voidsetPrimaryLightLevel(String primaryLightLevel)Sets the primary light level.voidsetPrimaryLightPosition(String primaryLightPosition)Sets the primary light position.voidsetRenderMode(ExtrusionRenderingType renderMode)Sets the render mode.voidsetRotationAngle(String rotationAngle)Sets the rotation angle.voidsetRotationCenter(String rotationCenter)Sets the rotation center.voidsetSecondaryLightHarshness(boolean secondaryLightHarshness)Sets the secondary light harshness.voidsetSecondaryLightLevel(String secondaryLightLevel)Sets the secondary light level.voidsetSecondaryLightPosition(String secondaryLightPosition)Sets the secondary light position.voidsetShininess(double shininess)Sets the shininess.voidSets the skew.voidsetSkewAngle(double skewAngle)Sets the skew angle.voidsetSpecularity(String specularity)Sets the specularity.voidsetType(ExtrusionType type)Sets the type.voidsetViewpoint(String viewpoint)Sets the viewpoint.voidsetViewpointOrigin(String viewpointOrigin)Sets the viewpoint origin.toString()
-
Constructor Details
-
Extrusion
public Extrusion()Instantiates a new extrusion. -
Extrusion
Instantiates a new extrusion.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIGroupElement- Specified by:
clonein interfaceIShapeElement- Specified by:
clonein interfaceIVmlElement- Overrides:
clonein classObject
-
toString
-
isAutoRotationCenter
public boolean isAutoRotationCenter()Checks if is auto rotation center.- Returns:
- true, if is auto rotation center
-
setAutoRotationCenter
public void setAutoRotationCenter(boolean autoRotationCenter)Sets the auto rotation center.- Parameters:
autoRotationCenter- the new auto rotation center
-
getBackwardDepth
Gets the backward depth.- Returns:
- the backward depth
-
setBackwardDepth
Sets the backward depth.- Parameters:
backwardDepth- the new backward depth
-
getBrightness
Gets the brightness.- Returns:
- the brightness
-
setBrightness
Sets the brightness.- Parameters:
brightness- the new brightness
-
getColor
Gets the color.- Returns:
- the color
-
setColor
Sets the color.- Parameters:
color- the new color
-
getColorMode
Gets the color mode.- Returns:
- the color mode
-
setColorMode
Sets the color mode.- Parameters:
colorMode- the new color mode
-
getDiffuseReflection
Gets the diffuse reflection.- Returns:
- the diffuse reflection
-
setDiffuseReflection
Sets the diffuse reflection.- Parameters:
diffuseReflection- the new diffuse reflection
-
getEdge
Gets the edge.- Returns:
- the edge
-
setEdge
Sets the edge.- Parameters:
edge- the new edge
-
getExtensionHandlingBehavior
Gets the extension handling behavior.- Returns:
- the extension handling behavior
-
setExtensionHandlingBehavior
Sets the extension handling behavior.- Parameters:
extensionHandlingBehavior- the new extension handling behavior
-
getFacetingQuality
Gets the faceting quality.- Returns:
- the faceting quality
-
setFacetingQuality
Sets the faceting quality.- Parameters:
facetingQuality- the new faceting quality
-
getForwardDepth
Gets the forward depth.- Returns:
- the forward depth
-
setForwardDepth
Sets the forward depth.- Parameters:
forwardDepth- the new forward depth
-
isLightFace
public boolean isLightFace()Checks if is light face.- Returns:
- true, if is light face
-
setLightFace
public void setLightFace(boolean lightFace)Sets the light face.- Parameters:
lightFace- the new light face
-
isPrimaryLightHarshness
public boolean isPrimaryLightHarshness()Checks if is primary light harshness.- Returns:
- true, if is primary light harshness
-
setPrimaryLightHarshness
public void setPrimaryLightHarshness(boolean primaryLightHarshness)Sets the primary light harshness.- Parameters:
primaryLightHarshness- the new primary light harshness
-
isSecondaryLightHarshness
public boolean isSecondaryLightHarshness()Checks if is secondary light harshness.- Returns:
- true, if is secondary light harshness
-
setSecondaryLightHarshness
public void setSecondaryLightHarshness(boolean secondaryLightHarshness)Sets the secondary light harshness.- Parameters:
secondaryLightHarshness- the new secondary light harshness
-
getPrimaryLightLevel
Gets the primary light level.- Returns:
- the primary light level
-
setPrimaryLightLevel
Sets the primary light level.- Parameters:
primaryLightLevel- the new primary light level
-
getSecondaryLightLevel
Gets the secondary light level.- Returns:
- the secondary light level
-
setSecondaryLightLevel
Sets the secondary light level.- Parameters:
secondaryLightLevel- the new secondary light level
-
getPrimaryLightPosition
Gets the primary light position.- Returns:
- the primary light position
-
setPrimaryLightPosition
Sets the primary light position.- Parameters:
primaryLightPosition- the new primary light position
-
getSecondaryLightPosition
Gets the secondary light position.- Returns:
- the secondary light position
-
setSecondaryLightPosition
Sets the secondary light position.- Parameters:
secondaryLightPosition- the new secondary light position
-
isLockRotationCenter
public boolean isLockRotationCenter()Checks if is lock rotation center.- Returns:
- true, if is lock rotation center
-
setLockRotationCenter
public void setLockRotationCenter(boolean lockRotationCenter)Sets the lock rotation center.- Parameters:
lockRotationCenter- the new lock rotation center
-
isMetallicSurface
public boolean isMetallicSurface()Checks if is metallic surface.- Returns:
- true, if is metallic surface
-
setMetallicSurface
public void setMetallicSurface(boolean metallicSurface)Sets the metallic surface.- Parameters:
metallicSurface- the new metallic surface
-
isDisplay
public boolean isDisplay()Checks if is display.- Returns:
- true, if is display
-
setDisplay
public void setDisplay(boolean display)Sets the display.- Parameters:
display- the new display
-
getOrientation
Gets the orientation.- Returns:
- the orientation
-
setOrientation
Sets the orientation.- Parameters:
orientation- the new orientation
-
getOrientationAngle
public double getOrientationAngle()Gets the orientation angle.- Returns:
- the orientation angle
-
setOrientationAngle
public void setOrientationAngle(double orientationAngle)Sets the orientation angle.- Parameters:
orientationAngle- the new orientation angle
-
getPlane
Gets the plane.- Returns:
- the plane
-
setPlane
Sets the plane.- Parameters:
plane- the new plane
-
getRenderMode
Gets the render mode.- Returns:
- the render mode
-
setRenderMode
Sets the render mode.- Parameters:
renderMode- the new render mode
-
getRotationAngle
Gets the rotation angle.- Returns:
- the rotation angle
-
setRotationAngle
Sets the rotation angle.- Parameters:
rotationAngle- the new rotation angle
-
getRotationCenter
Gets the rotation center.- Returns:
- the rotation center
-
setRotationCenter
Sets the rotation center.- Parameters:
rotationCenter- the new rotation center
-
getShininess
public double getShininess()Gets the shininess.- Returns:
- the shininess
-
setShininess
public void setShininess(double shininess)Sets the shininess.- Parameters:
shininess- the new shininess
-
getSkew
Gets the skew.- Returns:
- the skew
-
setSkew
Sets the skew.- Parameters:
skew- the new skew
-
getSkewAngle
public double getSkewAngle()Gets the skew angle.- Returns:
- the skew angle
-
setSkewAngle
public void setSkewAngle(double skewAngle)Sets the skew angle.- Parameters:
skewAngle- the new skew angle
-
getSpecularity
Gets the specularity.- Returns:
- the specularity
-
setSpecularity
Sets the specularity.- Parameters:
specularity- the new specularity
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getViewpoint
Gets the viewpoint.- Returns:
- the viewpoint
-
setViewpoint
Sets the viewpoint.- Parameters:
viewpoint- the new viewpoint
-
getViewpointOrigin
Gets the viewpoint origin.- Returns:
- the viewpoint origin
-
setViewpointOrigin
Sets the viewpoint origin.- Parameters:
viewpointOrigin- the new viewpoint origin
-