setDiameter
setDiameter: (ProgressPieComponent, number) -> ()setDiameter(diameter).
ProgressPieComponent.new()| Method | Returns | Description |
|---|---|---|
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() | ProgressPieComponent | ProgressPieComponent.new(): 25 px, white, a 1 px border. |
| Method | Returns | Description |
|---|---|---|
ProgressPieComponentClass.new | ProgressPieComponent | ProgressPieComponent.new(): 25 px, white, a 1 px border. |
setDiametersetDiameter: (ProgressPieComponent, number) -> ()setDiameter(diameter).
setBorderColorsetBorderColor: (ProgressPieComponent, Color?) -> ()setBorderColor(color).
setFillsetFill: (ProgressPieComponent, Color?) -> ()setFill(color).
setProgresssetProgress: (ProgressPieComponent, number) -> ()setProgress(progress): the filled fraction, 1 for a full circle.
setPositionsetPosition: (ProgressPieComponent, Point?) -> ()setPosition(position): the centre.
setBordersetBorder: (ProgressPieComponent, Color?, number) -> ()setBorder(color, size): the border's colour and a BasicStroke(size).
newnew: () -> ProgressPieComponentProgressPieComponent.new(): 25 px, white, a 1 px border.