Skip to content

setWidth()

Set the circle's diameter.

point.setWidth(width)

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

Parameters

point.setWidth(width)
Parameter Type Default Description
width int or float required The new diameter, in pixels.