Bevel
Bevel class
Represents a bevel of a shape
class Bevel;
Properties
| Property | Type | Description |
|---|---|---|
| width | number | Gets and sets the width of the bevel, or how far into the shape it is applied. In unit of Points. |
| height | number | Gets and sets the height of the bevel, or how far above the shape it is applied. In unit of Points. |
| type | BevelPresetType | Gets and sets the preset bevel type. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| value | number | The 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:
| Parameter | Type | Description |
|---|---|---|
| value | number | The value to set. |
getType()
@deprecated. Please use the ’type’ property instead. Gets and sets the preset bevel type.
getType() : BevelPresetType;
Returns
setType(BevelPresetType)
@deprecated. Please use the ’type’ property instead. Gets and sets the preset bevel type.
setType(value: BevelPresetType) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | BevelPresetType | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;