size(width, [height])

Class: Arc.

Description:

Sets or gets the size of the arc (horizontal and vertical diameter).

Parameters:

Name Type Description

width

number | Object

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

[height]

number

Height of the arc (vertical diameter).

Returns:

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

Type: Object | Arc