ThreeDFormat

ThreeDFormat class

Represents a shape’s three-dimensional formatting.

class ThreeDFormat;

Properties

PropertyTypeDescription
bottomBevelWidthnumberGets and sets the width of the bottom bevel, or how far into the shape it is applied. In unit of Points.
bottomBevelHeightnumberGets and sets the height of the bottom bevel, or how far into the shape it is applied. In unit of Points.
bottomBevelTypeBevelTypeGets and sets the type of the bottom bevel, or how far into the shape it is applied. In unit of Points.
topBevelWidthnumberGets and sets the width of the top bevel, or how far into the shape it is applied. In unit of Points.
topBevelHeightnumberGets and sets the height of the top bevel, or how far into the shape it is applied. In unit of Points.
topBevelTypeBevelTypeGets and sets the type of the top bevel, or how far into the shape it is applied. In unit of Points.
materialPresetMaterialTypeRepresents the preset material which is combined with the lighting properties to give the final look and feel of a shape.
contourColorCellsColorGets and sets the contour color on a shape.
contourWidthnumberGets and sets the contour width on the shape, in unit of points.
extrusionColorCellsColorGets the extrusion color on a shape.
extrusionHeightnumberGets and sets the extrusion height of the applied to the shape, in unit of points.
znumberDefines the distance from ground for the 3D shape.
lightAnglenumberGets and sets the angle of the extrusion lights.
lightingLightRigTypeGets and sets type of light rig.
lightingDirectionLightRigDirectionTypeGets and sets the direction from which the light rig is oriented in relation to the scene.
perspectivenumberGets and sets the angle at which a ThreeDFormat object can be viewed.
rotationXnumberGets and sets the rotation of the extruded shape around the x-axis in degrees.
rotationYnumberGets and sets the rotation of the extruded shape around the y-axis in degrees.
rotationZnumberGets and sets the rotation of the extruded shape around the z-axis in degrees.
presetCameraTypePresetCameraTypeGets and sets the extrusion preset camera type.

Methods

MethodDescription
getBottomBevelWidth()@deprecated. Please use the ‘bottomBevelWidth’ property instead. Gets and sets the width of the bottom bevel, or how far into the shape it is applied. In unit of Points.
setBottomBevelWidth(number)@deprecated. Please use the ‘bottomBevelWidth’ property instead. Gets and sets the width of the bottom bevel, or how far into the shape it is applied. In unit of Points.
getBottomBevelHeight()@deprecated. Please use the ‘bottomBevelHeight’ property instead. Gets and sets the height of the bottom bevel, or how far into the shape it is applied. In unit of Points.
setBottomBevelHeight(number)@deprecated. Please use the ‘bottomBevelHeight’ property instead. Gets and sets the height of the bottom bevel, or how far into the shape it is applied. In unit of Points.
getBottomBevelType()@deprecated. Please use the ‘bottomBevelType’ property instead. Gets and sets the type of the bottom bevel, or how far into the shape it is applied. In unit of Points.
setBottomBevelType(BevelType)@deprecated. Please use the ‘bottomBevelType’ property instead. Gets and sets the type of the bottom bevel, or how far into the shape it is applied. In unit of Points.
getTopBevelWidth()@deprecated. Please use the ’topBevelWidth’ property instead. Gets and sets the width of the top bevel, or how far into the shape it is applied. In unit of Points.
setTopBevelWidth(number)@deprecated. Please use the ’topBevelWidth’ property instead. Gets and sets the width of the top bevel, or how far into the shape it is applied. In unit of Points.
getTopBevelHeight()@deprecated. Please use the ’topBevelHeight’ property instead. Gets and sets the height of the top bevel, or how far into the shape it is applied. In unit of Points.
setTopBevelHeight(number)@deprecated. Please use the ’topBevelHeight’ property instead. Gets and sets the height of the top bevel, or how far into the shape it is applied. In unit of Points.
getTopBevelType()@deprecated. Please use the ’topBevelType’ property instead. Gets and sets the type of the top bevel, or how far into the shape it is applied. In unit of Points.
setTopBevelType(BevelType)@deprecated. Please use the ’topBevelType’ property instead. Gets and sets the type of the top bevel, or how far into the shape it is applied. In unit of Points.
getMaterial()@deprecated. Please use the ‘material’ property instead. Represents the preset material which is combined with the lighting properties to give the final look and feel of a shape.
setMaterial(PresetMaterialType)@deprecated. Please use the ‘material’ property instead. Represents the preset material which is combined with the lighting properties to give the final look and feel of a shape.
getContourColor()@deprecated. Please use the ‘contourColor’ property instead. Gets and sets the contour color on a shape.
setContourColor(CellsColor)@deprecated. Please use the ‘contourColor’ property instead. Gets and sets the contour color on a shape.
getContourWidth()@deprecated. Please use the ‘contourWidth’ property instead. Gets and sets the contour width on the shape, in unit of points.
setContourWidth(number)@deprecated. Please use the ‘contourWidth’ property instead. Gets and sets the contour width on the shape, in unit of points.
getExtrusionColor()@deprecated. Please use the ’extrusionColor’ property instead. Gets the extrusion color on a shape.
setExtrusionColor(CellsColor)@deprecated. Please use the ’extrusionColor’ property instead. Gets the extrusion color on a shape.
getExtrusionHeight()@deprecated. Please use the ’extrusionHeight’ property instead. Gets and sets the extrusion height of the applied to the shape, in unit of points.
setExtrusionHeight(number)@deprecated. Please use the ’extrusionHeight’ property instead. Gets and sets the extrusion height of the applied to the shape, in unit of points.
getZ()@deprecated. Please use the ‘z’ property instead. Defines the distance from ground for the 3D shape.
setZ(number)@deprecated. Please use the ‘z’ property instead. Defines the distance from ground for the 3D shape.
getLightAngle()@deprecated. Please use the ’lightAngle’ property instead. Gets and sets the angle of the extrusion lights.
setLightAngle(number)@deprecated. Please use the ’lightAngle’ property instead. Gets and sets the angle of the extrusion lights.
getLighting()@deprecated. Please use the ’lighting’ property instead. Gets and sets type of light rig.
setLighting(LightRigType)@deprecated. Please use the ’lighting’ property instead. Gets and sets type of light rig.
getLightingDirection()@deprecated. Please use the ’lightingDirection’ property instead. Gets and sets the direction from which the light rig is oriented in relation to the scene.
setLightingDirection(LightRigDirectionType)@deprecated. Please use the ’lightingDirection’ property instead. Gets and sets the direction from which the light rig is oriented in relation to the scene.
getPerspective()@deprecated. Please use the ‘perspective’ property instead. Gets and sets the angle at which a ThreeDFormat object can be viewed.
setPerspective(number)@deprecated. Please use the ‘perspective’ property instead. Gets and sets the angle at which a ThreeDFormat object can be viewed.
getRotationX()@deprecated. Please use the ‘rotationX’ property instead. Gets and sets the rotation of the extruded shape around the x-axis in degrees.
setRotationX(number)@deprecated. Please use the ‘rotationX’ property instead. Gets and sets the rotation of the extruded shape around the x-axis in degrees.
getRotationY()@deprecated. Please use the ‘rotationY’ property instead. Gets and sets the rotation of the extruded shape around the y-axis in degrees.
setRotationY(number)@deprecated. Please use the ‘rotationY’ property instead. Gets and sets the rotation of the extruded shape around the y-axis in degrees.
getRotationZ()@deprecated. Please use the ‘rotationZ’ property instead. Gets and sets the rotation of the extruded shape around the z-axis in degrees.
setRotationZ(number)@deprecated. Please use the ‘rotationZ’ property instead. Gets and sets the rotation of the extruded shape around the z-axis in degrees.
getPresetCameraType()@deprecated. Please use the ‘presetCameraType’ property instead. Gets and sets the extrusion preset camera type.
setPresetCameraType(PresetCameraType)@deprecated. Please use the ‘presetCameraType’ property instead. Gets and sets the extrusion preset camera type.
isNull()Checks whether the implementation object is null.
getHashCode()Gets hashcode.
equals(Object)

bottomBevelWidth

Gets and sets the width of the bottom bevel, or how far into the shape it is applied. In unit of Points.

bottomBevelWidth : number;

bottomBevelHeight

Gets and sets the height of the bottom bevel, or how far into the shape it is applied. In unit of Points.

bottomBevelHeight : number;

bottomBevelType

Gets and sets the type of the bottom bevel, or how far into the shape it is applied. In unit of Points.

bottomBevelType : BevelType;

topBevelWidth

Gets and sets the width of the top bevel, or how far into the shape it is applied. In unit of Points.

topBevelWidth : number;

topBevelHeight

Gets and sets the height of the top bevel, or how far into the shape it is applied. In unit of Points.

topBevelHeight : number;

topBevelType

Gets and sets the type of the top bevel, or how far into the shape it is applied. In unit of Points.

topBevelType : BevelType;

material

Represents the preset material which is combined with the lighting properties to give the final look and feel of a shape.

material : PresetMaterialType;

contourColor

Gets and sets the contour color on a shape.

contourColor : CellsColor;

contourWidth

Gets and sets the contour width on the shape, in unit of points.

contourWidth : number;

extrusionColor

Gets the extrusion color on a shape.

extrusionColor : CellsColor;

extrusionHeight

Gets and sets the extrusion height of the applied to the shape, in unit of points.

extrusionHeight : number;

z

Defines the distance from ground for the 3D shape.

z : number;

lightAngle

Gets and sets the angle of the extrusion lights.

lightAngle : number;

lighting

Gets and sets type of light rig.

lighting : LightRigType;

lightingDirection

Gets and sets the direction from which the light rig is oriented in relation to the scene.

lightingDirection : LightRigDirectionType;

perspective

Gets and sets the angle at which a ThreeDFormat object can be viewed.

perspective : number;

rotationX

Gets and sets the rotation of the extruded shape around the x-axis in degrees.

rotationX : number;

rotationY

Gets and sets the rotation of the extruded shape around the y-axis in degrees.

rotationY : number;

rotationZ

Gets and sets the rotation of the extruded shape around the z-axis in degrees.

rotationZ : number;

presetCameraType

Gets and sets the extrusion preset camera type.

presetCameraType : PresetCameraType;

getBottomBevelWidth()

@deprecated. Please use the ‘bottomBevelWidth’ property instead. Gets and sets the width of the bottom bevel, or how far into the shape it is applied. In unit of Points.

getBottomBevelWidth() : number;

setBottomBevelWidth(number)

@deprecated. Please use the ‘bottomBevelWidth’ property instead. Gets and sets the width of the bottom bevel, or how far into the shape it is applied. In unit of Points.

setBottomBevelWidth(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getBottomBevelHeight()

@deprecated. Please use the ‘bottomBevelHeight’ property instead. Gets and sets the height of the bottom bevel, or how far into the shape it is applied. In unit of Points.

getBottomBevelHeight() : number;

setBottomBevelHeight(number)

@deprecated. Please use the ‘bottomBevelHeight’ property instead. Gets and sets the height of the bottom bevel, or how far into the shape it is applied. In unit of Points.

setBottomBevelHeight(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getBottomBevelType()

@deprecated. Please use the ‘bottomBevelType’ property instead. Gets and sets the type of the bottom bevel, or how far into the shape it is applied. In unit of Points.

getBottomBevelType() : BevelType;

Returns

BevelType

setBottomBevelType(BevelType)

@deprecated. Please use the ‘bottomBevelType’ property instead. Gets and sets the type of the bottom bevel, or how far into the shape it is applied. In unit of Points.

setBottomBevelType(value: BevelType) : void;

Parameters:

ParameterTypeDescription
valueBevelTypeThe value to set.

getTopBevelWidth()

@deprecated. Please use the ’topBevelWidth’ property instead. Gets and sets the width of the top bevel, or how far into the shape it is applied. In unit of Points.

getTopBevelWidth() : number;

setTopBevelWidth(number)

@deprecated. Please use the ’topBevelWidth’ property instead. Gets and sets the width of the top bevel, or how far into the shape it is applied. In unit of Points.

setTopBevelWidth(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getTopBevelHeight()

@deprecated. Please use the ’topBevelHeight’ property instead. Gets and sets the height of the top bevel, or how far into the shape it is applied. In unit of Points.

getTopBevelHeight() : number;

setTopBevelHeight(number)

@deprecated. Please use the ’topBevelHeight’ property instead. Gets and sets the height of the top bevel, or how far into the shape it is applied. In unit of Points.

setTopBevelHeight(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getTopBevelType()

@deprecated. Please use the ’topBevelType’ property instead. Gets and sets the type of the top bevel, or how far into the shape it is applied. In unit of Points.

getTopBevelType() : BevelType;

Returns

BevelType

setTopBevelType(BevelType)

@deprecated. Please use the ’topBevelType’ property instead. Gets and sets the type of the top bevel, or how far into the shape it is applied. In unit of Points.

setTopBevelType(value: BevelType) : void;

Parameters:

ParameterTypeDescription
valueBevelTypeThe value to set.

getMaterial()

@deprecated. Please use the ‘material’ property instead. Represents the preset material which is combined with the lighting properties to give the final look and feel of a shape.

getMaterial() : PresetMaterialType;

Returns

PresetMaterialType

setMaterial(PresetMaterialType)

@deprecated. Please use the ‘material’ property instead. Represents the preset material which is combined with the lighting properties to give the final look and feel of a shape.

setMaterial(value: PresetMaterialType) : void;

Parameters:

ParameterTypeDescription
valuePresetMaterialTypeThe value to set.

getContourColor()

@deprecated. Please use the ‘contourColor’ property instead. Gets and sets the contour color on a shape.

getContourColor() : CellsColor;

Returns

CellsColor

setContourColor(CellsColor)

@deprecated. Please use the ‘contourColor’ property instead. Gets and sets the contour color on a shape.

setContourColor(value: CellsColor) : void;

Parameters:

ParameterTypeDescription
valueCellsColorThe value to set.

getContourWidth()

@deprecated. Please use the ‘contourWidth’ property instead. Gets and sets the contour width on the shape, in unit of points.

getContourWidth() : number;

setContourWidth(number)

@deprecated. Please use the ‘contourWidth’ property instead. Gets and sets the contour width on the shape, in unit of points.

setContourWidth(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getExtrusionColor()

@deprecated. Please use the ’extrusionColor’ property instead. Gets the extrusion color on a shape.

getExtrusionColor() : CellsColor;

Returns

CellsColor

setExtrusionColor(CellsColor)

@deprecated. Please use the ’extrusionColor’ property instead. Gets the extrusion color on a shape.

setExtrusionColor(value: CellsColor) : void;

Parameters:

ParameterTypeDescription
valueCellsColorThe value to set.

getExtrusionHeight()

@deprecated. Please use the ’extrusionHeight’ property instead. Gets and sets the extrusion height of the applied to the shape, in unit of points.

getExtrusionHeight() : number;

setExtrusionHeight(number)

@deprecated. Please use the ’extrusionHeight’ property instead. Gets and sets the extrusion height of the applied to the shape, in unit of points.

setExtrusionHeight(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getZ()

@deprecated. Please use the ‘z’ property instead. Defines the distance from ground for the 3D shape.

getZ() : number;

setZ(number)

@deprecated. Please use the ‘z’ property instead. Defines the distance from ground for the 3D shape.

setZ(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getLightAngle()

@deprecated. Please use the ’lightAngle’ property instead. Gets and sets the angle of the extrusion lights.

getLightAngle() : number;

setLightAngle(number)

@deprecated. Please use the ’lightAngle’ property instead. Gets and sets the angle of the extrusion lights.

setLightAngle(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getLighting()

@deprecated. Please use the ’lighting’ property instead. Gets and sets type of light rig.

getLighting() : LightRigType;

Returns

LightRigType

setLighting(LightRigType)

@deprecated. Please use the ’lighting’ property instead. Gets and sets type of light rig.

setLighting(value: LightRigType) : void;

Parameters:

ParameterTypeDescription
valueLightRigTypeThe value to set.

getLightingDirection()

@deprecated. Please use the ’lightingDirection’ property instead. Gets and sets the direction from which the light rig is oriented in relation to the scene.

getLightingDirection() : LightRigDirectionType;

Returns

LightRigDirectionType

setLightingDirection(LightRigDirectionType)

@deprecated. Please use the ’lightingDirection’ property instead. Gets and sets the direction from which the light rig is oriented in relation to the scene.

setLightingDirection(value: LightRigDirectionType) : void;

Parameters:

ParameterTypeDescription
valueLightRigDirectionTypeThe value to set.

getPerspective()

@deprecated. Please use the ‘perspective’ property instead. Gets and sets the angle at which a ThreeDFormat object can be viewed.

getPerspective() : number;

setPerspective(number)

@deprecated. Please use the ‘perspective’ property instead. Gets and sets the angle at which a ThreeDFormat object can be viewed.

setPerspective(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getRotationX()

@deprecated. Please use the ‘rotationX’ property instead. Gets and sets the rotation of the extruded shape around the x-axis in degrees.

getRotationX() : number;

setRotationX(number)

@deprecated. Please use the ‘rotationX’ property instead. Gets and sets the rotation of the extruded shape around the x-axis in degrees.

setRotationX(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getRotationY()

@deprecated. Please use the ‘rotationY’ property instead. Gets and sets the rotation of the extruded shape around the y-axis in degrees.

getRotationY() : number;

setRotationY(number)

@deprecated. Please use the ‘rotationY’ property instead. Gets and sets the rotation of the extruded shape around the y-axis in degrees.

setRotationY(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getRotationZ()

@deprecated. Please use the ‘rotationZ’ property instead. Gets and sets the rotation of the extruded shape around the z-axis in degrees.

getRotationZ() : number;

setRotationZ(number)

@deprecated. Please use the ‘rotationZ’ property instead. Gets and sets the rotation of the extruded shape around the z-axis in degrees.

setRotationZ(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getPresetCameraType()

@deprecated. Please use the ‘presetCameraType’ property instead. Gets and sets the extrusion preset camera type.

getPresetCameraType() : PresetCameraType;

Returns

PresetCameraType

setPresetCameraType(PresetCameraType)

@deprecated. Please use the ‘presetCameraType’ property instead. Gets and sets the extrusion preset camera type.

setPresetCameraType(value: PresetCameraType) : void;

Parameters:

ParameterTypeDescription
valuePresetCameraTypeThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;

getHashCode()

Gets hashcode.

getHashCode() : number;

equals(Object)

equals(obj: Object) : boolean;

Parameters:

ParameterTypeDescription
objObject