holeSize(width, [height])

Class: Arc.

Description:

Sets or gets the size of the hollow space inside the arc. The hole make it look more like a donut.

Parameters:

Name Type Description

width

number | Object

Width of the hole (horizontal diameter), or a size object (e.g., {width:50,height:50}).

[height]

number

Height of the hole (vertical diameter).

Returns:

If called without parameters, current hole size is returned; otherwise this Arc object is returned.

Type: Object | Arc