setBackgroundColor
setBackgroundColor: (BackgroundComponent, Color?) -> ()setBackgroundColor(color).
BackgroundComponent.new()| Method | Returns | Description |
|---|---|---|
setBackgroundColor(Color?) | () | setBackgroundColor(color). |
setRectangle(Rectangle?) | () | setRectangle(rectangle): what to fill. |
setFill(boolean) | () | setFill(fill): false draws the border only. |
new() | BackgroundComponent | () -> BackgroundComponent: BackgroundComponent.new(): the standard colour, an empty rectangle, filled. |
new(Color?, Rectangle?, boolean) | BackgroundComponent |
| Method | Returns | Description |
|---|---|---|
BackgroundComponentClass.new | BackgroundComponent | () -> BackgroundComponent: BackgroundComponent.new(): the standard colour, an empty rectangle, filled. |
setBackgroundColorsetBackgroundColor: (BackgroundComponent, Color?) -> ()setBackgroundColor(color).
setRectanglesetRectangle: (BackgroundComponent, Rectangle?) -> ()setRectangle(rectangle): what to fill.
setFillsetFill: (BackgroundComponent, boolean) -> ()setFill(fill): false draws the border only.
newnew: (() -> BackgroundComponent) & ((Color?, Rectangle?, boolean) -> BackgroundComponent)() -> BackgroundComponent: BackgroundComponent.new(): the standard colour, an empty rectangle, filled.
(Color?, Rectangle?, boolean) -> BackgroundComponent: BackgroundComponent.new(backgroundColor, rectangle, fill).