Namespace EasyXLS.Drawings.Formatting
Class Format3D
System.Object
EasyXLS.Drawings.Formatting.Format3D
public class Format3D
extends System.Object
This class stores the 3D-formatting for drawing objects. It allows to set the top and bottom bevel appearance, the material and the lights.
-
Constant Summary
FieldsModifier and TypeFieldDescriptionconst System.StringA constant indicating the angle bevel.const System.StringA constant indicating the art deco bevel.const System.StringA constant indicating the circle bevel.const System.StringA constant indicating the convex bevel.const System.StringA constant indicating the cool slant bevel.const System.StringA constant indicating the cross bevel.const System.StringA constant indicating the divot bevel.const System.StringA constant indicating the hard edge bevel.const System.StringA constant indicating that no bevel is set.const System.StringA constant indicating the relaxed inset bevel.const System.StringA constant indicating the riblet bevel.const System.StringA constant indicating the slope bevel.const System.StringA constant indicating the soft round bevel.const System.StringA constant indicating the balanced lightning.const System.StringA constant indicating the bright room lightning.const System.StringA constant indicating the chilly lightning.const System.StringA constant indicating the contrasting lightning.const System.StringA constant indicating the flat lightning.const System.StringA constant indicating the flood lightning.const System.StringA constant indicating the freezing lightning.const System.StringA constant indicating the glow lightning.const System.StringA constant indicating the harsh lightning.const System.StringA constant indicating the morning lightning.const System.StringA constant indicating that no lights are set.const System.StringA constant indicating the soft lightning.const System.StringA constant indicating the sunrise lightning.const System.StringA constant indicating the sunset lightning.const System.StringA constant indicating the three point lightning.const System.StringA constant indicating the two point lightning.const System.StringA constant indicating the clear material.const System.StringA constant indicating the dark edge material.const System.StringA constant indicating the flat material.const System.StringA constant indicating the matte material.const System.StringA constant indicating the metal material.const System.StringA constant indicating that no material is set.const System.StringA constant indicating the plastic material.const System.StringA constant indicating the powder material.const System.StringA constant indicating the soft edge material.const System.StringA constant indicating the translucent powder material.const System.StringA constant indicating the warm matte material.const System.StringA constant indicating the wireframe material. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClone()Creates and returns a copy of this object.System.StringReturns the type of the bottom bevel.floatReturns the height of the bottom bevel.floatReturns the width of the bottom bevel.floatReturns the angle of the lights.System.StringReturns the lighting of the shape.System.StringReturns the material of the shape.System.StringReturns the type of the top bevel.floatReturns the height of the top bevel.floatReturns the width of the top bevel.voidsetBottomBevel(System.String bevel) Sets the type of the bottom bevel.voidsetBottomBevelHeight(float height) Sets the height of the bottom bevel.voidsetBottomBevelWidth(float width) Sets the width of the bottom bevel.voidsetLightAngle(float angle) Sets the angle of the lights.voidsetLighting(System.String lighting) Sets the lighting of the shape.voidsetMaterial(System.String material) Sets the material of the shape.voidsetTopBevel(System.String bevel) Sets the type of the top bevel.voidsetTopBevelHeight(float height) Sets the height of the top bevel.voidsetTopBevelWidth(float width) Sets the width of the top bevel.Methods inherited from class System.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
BEVEL_NONE
public const final System.String BEVEL_NONEA constant indicating that no bevel is set. Embedded value is "none".- See Also:
-
BEVEL_CIRCLE
public const final System.String BEVEL_CIRCLEA constant indicating the circle bevel. Embedded value is "circle".- See Also:
-
BEVEL_RELAXED_INSET
public const final System.String BEVEL_RELAXED_INSETA constant indicating the relaxed inset bevel. Embedded value is "relaxedInset".- See Also:
-
BEVEL_CROSS
public const final System.String BEVEL_CROSSA constant indicating the cross bevel. Embedded value is "cross".- See Also:
-
BEVEL_COOL_SLANT
public const final System.String BEVEL_COOL_SLANTA constant indicating the cool slant bevel. Embedded value is "coolSlant".- See Also:
-
BEVEL_ANGLE
public const final System.String BEVEL_ANGLEA constant indicating the angle bevel. Embedded value is "angle".- See Also:
-
BEVEL_SOFT_ROUND
public const final System.String BEVEL_SOFT_ROUNDA constant indicating the soft round bevel. Embedded value is "softRound".- See Also:
-
BEVEL_CONVEX
public const final System.String BEVEL_CONVEXA constant indicating the convex bevel. Embedded value is "convex".- See Also:
-
BEVEL_SLOPE
public const final System.String BEVEL_SLOPEA constant indicating the slope bevel. Embedded value is "slope".- See Also:
-
BEVEL_DIVOT
public const final System.String BEVEL_DIVOTA constant indicating the divot bevel. Embedded value is "divot".- See Also:
-
BEVEL_RIBLET
public const final System.String BEVEL_RIBLETA constant indicating the riblet bevel. Embedded value is "riblet".- See Also:
-
BEVEL_HARD_EDGE
public const final System.String BEVEL_HARD_EDGEA constant indicating the hard edge bevel. Embedded value is "hardEdge".- See Also:
-
BEVEL_ART_DECO
public const final System.String BEVEL_ART_DECOA constant indicating the art deco bevel. Embedded value is "artDeco".- See Also:
-
MATERIAL_NONE
public const final System.String MATERIAL_NONEA constant indicating that no material is set. Embedded value is "none".- See Also:
-
MATERIAL_MATTE
public const final System.String MATERIAL_MATTEA constant indicating the matte material. Embedded value is "matte".- See Also:
-
MATERIAL_WARM_MATTE
public const final System.String MATERIAL_WARM_MATTEA constant indicating the warm matte material. Embedded value is "warmMatte".- See Also:
-
MATERIAL_PLASTIC
public const final System.String MATERIAL_PLASTICA constant indicating the plastic material. Embedded value is "plastic".- See Also:
-
MATERIAL_METAL
public const final System.String MATERIAL_METALA constant indicating the metal material. Embedded value is "metal".- See Also:
-
MATERIAL_DARK_EDGE
public const final System.String MATERIAL_DARK_EDGEA constant indicating the dark edge material. Embedded value is "dkEdge".- See Also:
-
MATERIAL_SOFT_EDGE
public const final System.String MATERIAL_SOFT_EDGEA constant indicating the soft edge material. Embedded value is "softEdge".- See Also:
-
MATERIAL_FLAT
public const final System.String MATERIAL_FLATA constant indicating the flat material. Embedded value is "flat".- See Also:
-
MATERIAL_WIREFRAME
public const final System.String MATERIAL_WIREFRAMEA constant indicating the wireframe material. Embedded value is "legacyWireframe".- See Also:
-
MATERIAL_POWDER
public const final System.String MATERIAL_POWDERA constant indicating the powder material. Embedded value is "powder".- See Also:
-
MATERIAL_TRANSLUCENT_POWDER
public const final System.String MATERIAL_TRANSLUCENT_POWDERA constant indicating the translucent powder material. Embedded value is "translucentPowder".- See Also:
-
MATERIAL_CLEAR
public const final System.String MATERIAL_CLEARA constant indicating the clear material. Embedded value is "clear".- See Also:
-
LIGHTING_NONE
public const final System.String LIGHTING_NONEA constant indicating that no lights are set. Embedded value is "none".- See Also:
-
LIGHTING_THREE_POINT
public const final System.String LIGHTING_THREE_POINTA constant indicating the three point lightning. Embedded value is "threePt".- See Also:
-
LIGHTING_BALANCE
public const final System.String LIGHTING_BALANCEA constant indicating the balanced lightning. Embedded value is "balanced".- See Also:
-
LIGHTING_SOFT
public const final System.String LIGHTING_SOFTA constant indicating the soft lightning. Embedded value is "soft".- See Also:
-
LIGHTING_HARSH
public const final System.String LIGHTING_HARSHA constant indicating the harsh lightning. Embedded value is "harsh".- See Also:
-
LIGHTING_FLOOD
public const final System.String LIGHTING_FLOODA constant indicating the flood lightning. Embedded value is "flood".- See Also:
-
LIGHTING_CONTRASTING
public const final System.String LIGHTING_CONTRASTINGA constant indicating the contrasting lightning. Embedded value is "contrasting".- See Also:
-
LIGHTING_MORNING
public const final System.String LIGHTING_MORNINGA constant indicating the morning lightning. Embedded value is "morning".- See Also:
-
LIGHTING_SUNRISE
public const final System.String LIGHTING_SUNRISEA constant indicating the sunrise lightning. Embedded value is "sunrise".- See Also:
-
LIGHTING_SUNSET
public const final System.String LIGHTING_SUNSETA constant indicating the sunset lightning. Embedded value is "sunset".- See Also:
-
LIGHTING_CHILLY
public const final System.String LIGHTING_CHILLYA constant indicating the chilly lightning. Embedded value is "chilly".- See Also:
-
LIGHTING_FREEZING
public const final System.String LIGHTING_FREEZINGA constant indicating the freezing lightning. Embedded value is "freezing".- See Also:
-
LIGHTING_FLAT
public const final System.String LIGHTING_FLATA constant indicating the flat lightning. Embedded value is "flat".- See Also:
-
LIGHTING_TWO_POINT
public const final System.String LIGHTING_TWO_POINTA constant indicating the two point lightning. Embedded value is "twoPt".- See Also:
-
LIGHTING_GLOW
public const final System.String LIGHTING_GLOWA constant indicating the glow lightning. Embedded value is "glow".- See Also:
-
LIGHTING_BRIGHT_ROOM
public const final System.String LIGHTING_BRIGHT_ROOMA constant indicating the bright room lightning. Embedded value is "brightRoom".- See Also:
-
-
Constructor Details
-
Format3D
public Format3D()Defines an instance of the 3D formatting.
-
-
Method Details
-
getTopBevel
public System.String getTopBevel()Returns the type of the top bevel. Possible values are available inFormat3Dclass.- Returns:
- the type of the top bevel
- See Also:
-
setTopBevel
public void setTopBevel(System.String bevel) Sets the type of the top bevel. Possible values are available inFormat3Dclass.- Parameters:
bevel- the type of the top bevel- See Also:
-
getTopBevelWidth
public float getTopBevelWidth()Returns the width of the top bevel.- Returns:
- the width of the top bevel
- See Also:
-
setTopBevelWidth
public void setTopBevelWidth(float width) Sets the width of the top bevel.- Parameters:
width- the width of the top bevel- See Also:
-
getTopBevelHeight
public float getTopBevelHeight()Returns the height of the top bevel.- Returns:
- the height of the top bevel
- See Also:
-
setTopBevelHeight
public void setTopBevelHeight(float height) Sets the height of the top bevel.- Parameters:
height- the height of the top bevel- See Also:
-
getBottomBevel
public System.String getBottomBevel()Returns the type of the bottom bevel. Possible values are available inFormat3Dclass.- Returns:
- the type of the bottom bevel
- See Also:
-
setBottomBevel
public void setBottomBevel(System.String bevel) Sets the type of the bottom bevel. Possible values are available inFormat3Dclass.- Parameters:
bevel- the type of the bottom bevel- See Also:
-
getBottomBevelWidth
public float getBottomBevelWidth()Returns the width of the bottom bevel.- Returns:
- the width of the bottom bevel
- See Also:
-
setBottomBevelWidth
public void setBottomBevelWidth(float width) Sets the width of the bottom bevel.- Parameters:
width- the width of the bottom bevel- See Also:
-
getBottomBevelHeight
public float getBottomBevelHeight()Returns the height of the bottom bevel.- Returns:
- the height of the bottom bevel
- See Also:
-
setBottomBevelHeight
public void setBottomBevelHeight(float height) Sets the height of the bottom bevel.- Parameters:
height- the height of the bottom bevel- See Also:
-
getMaterial
public System.String getMaterial()Returns the material of the shape.- Returns:
- the material of the shape
- See Also:
-
setMaterial
public void setMaterial(System.String material) Sets the material of the shape.- Parameters:
material- the material of the shape- See Also:
-
getLighting
public System.String getLighting()Returns the lighting of the shape.- Returns:
- the lighting of the shape
- See Also:
-
setLighting
public void setLighting(System.String lighting) Sets the lighting of the shape.- Parameters:
lighting- the lighting of the shape- See Also:
-
getLightAngle
public float getLightAngle()Returns the angle of the lights.- Returns:
- the angle of the lights
- See Also:
-
setLightAngle
public void setLightAngle(float angle) Sets the angle of the lights.- Parameters:
angle- the angle of the lights- See Also:
-
Clone
Creates and returns a copy of this object.- Returns:
- a clone of this instance.
-