Skip to content

setSize()

Set the circle's size.

point.setSize(width, height)

A circle's width and height are always the same; if they differ, the width is used for both.

Parameters

point.setSize(width, height)
Parameter Type Default Description
width int or float required The new diameter, in pixels.
height int or float required The new diameter, in pixels (should match the width).