Bevel

Bevel class

Represents a bevel of a shape

class Bevel;

Properties

PropertyTypeDescription
widthnumberGets and sets the width of the bevel, or how far into the shape it is applied. In unit of Points.
heightnumberGets and sets the height of the bevel, or how far above the shape it is applied. In unit of Points.
typeBevelPresetTypeGets and sets the preset bevel type.

Methods

MethodDescription
getWidth()@deprecated. Please use the ‘width’ property instead. Gets and sets the width of the bevel, or how far into the shape it is applied. In unit of Points.
setWidth(number)@deprecated. Please use the ‘width’ property instead. Gets and sets the width of the bevel, or how far into the shape it is applied. In unit of Points.
getHeight()@deprecated. Please use the ‘height’ property instead. Gets and sets the height of the bevel, or how far above the shape it is applied. In unit of Points.
setHeight(number)@deprecated. Please use the ‘height’ property instead. Gets and sets the height of the bevel, or how far above the shape it is applied. In unit of Points.
getType()@deprecated. Please use the ’type’ property instead. Gets and sets the preset bevel type.
setType(BevelPresetType)@deprecated. Please use the ’type’ property instead. Gets and sets the preset bevel type.
isNull()Checks whether the implementation object is null.

width

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

width : number;

height

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

height : number;

type

Gets and sets the preset bevel type.

type : BevelPresetType;

getWidth()

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

getWidth() : number;

setWidth(number)

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

setWidth(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getHeight()

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

getHeight() : number;

setHeight(number)

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

setHeight(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getType()

@deprecated. Please use the ’type’ property instead. Gets and sets the preset bevel type.

getType() : BevelPresetType;

Returns

BevelPresetType

setType(BevelPresetType)

@deprecated. Please use the ’type’ property instead. Gets and sets the preset bevel type.

setType(value: BevelPresetType) : void;

Parameters:

ParameterTypeDescription
valueBevelPresetTypeThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;