Websites Navigation: Airbit | Shop | m-shell.net
Languages: EN | DE

Class abguibase.RoundedBackground

is abguibase.Background
A somewhat fancier background with rounded corners.

Constructor

Inherited from Background:
function init(color, borderColor=null)
Initialize a new background.
Parameters:
color – the solid background color.
borderColor – the borderColor, null for no border.

Functions

draw(w, h, inset) [Inherited comment] Draw the background into the rectangle [0, 0, w, h].
function draw(w, h, inset)
Overridesabguibase.Background.draw()
[Inherited comment] Draw the background into the rectangle [0, 0, w, h].
Parameters:
w – the rectangle width.
h – the rectangle height.
inset – the content inset
mShell Home  > Documentation  > mdoc