Skip to content

setHeight()

Set the circle's diameter.

circle.setHeight(height)

Sets both the height and the width, keeping the circle round.

Parameters

circle.setHeight(height)
Parameter Type Default Description
height int or float required The new diameter, in pixels.