ProgressPieComponent

Methods
7
Fields
None

Getting one

ProgressPieComponent.new()

Methods

MethodReturnsDescription
setDiameter(number)()setDiameter(diameter).
setBorderColor(Color?)()setBorderColor(color).
setFill(Color?)()setFill(color).
setProgress(number)()setProgress(progress): the filled fraction, 1 for a full circle.
setPosition(Point?)()setPosition(position): the centre.
setBorder(Color?, number)()setBorder(color, size): the border's colour and a BasicStroke(size).
new()ProgressPieComponentProgressPieComponent.new(): 25 px, white, a 1 px border.

Returned by

MethodReturnsDescription
ProgressPieComponentClass.newProgressPieComponentProgressPieComponent.new(): 25 px, white, a 1 px border.

Method details