Bevel

Bevel class

Represents a bevel of a shape

class Bevel;

Methods

MethodDescription
getWidth()Gets and sets the width of the bevel, or how far into the shape it is applied. In unit of Points.
setWidth(number)Gets and sets the width of the bevel, or how far into the shape it is applied. In unit of Points.
getHeight()Gets and sets the height of the bevel, or how far above the shape it is applied. In unit of Points.
setHeight(number)Gets and sets the height of the bevel, or how far above the shape it is applied. In unit of Points.
getType()Gets and sets the preset bevel type.
setType(BevelPresetType)Gets and sets the preset bevel type.

getWidth()

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)

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()

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)

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()

Gets and sets the preset bevel type.

getType() : BevelPresetType;

Returns

BevelPresetType

setType(BevelPresetType)

Gets and sets the preset bevel type.

setType(value: BevelPresetType) : void;

Parameters:

ParameterTypeDescription
valueBevelPresetTypeThe value to set.