Skip to content

setColor()

Set the shape's color.

polygon.setColor()

Parameters

polygon.setColor(color=None)
Parameter Type Default Description
color Color None The new color. If omitted, a color-selection dialog opens.