Gradients and shading can be obtained with just a few lines of code.
Code: Select all
arb_40vlgC="font:arimo_bold.ttf; size:40px; color: #CDCDCD; halign:center; valign:center;"
canvas_id = canvas_add(0, 0, 200, 100, function()
_rect(5, 5, 190, 90,30)
_stroke("#1A1A1A", 5)
_rect(6,7,192, 92,30)
_fill_gradient_box(75, 40, 50, 40, 10, 100, "#5a5a5a", "#343434")
_rect(0, 0, 200, 100,30)
_txt("IDENT",arb_40vlgC,100,50)
end)
You can of course alter the graduant via vars to simulate light angle. Something YOUR FANCY GRAPHICS .png cannot do.
Good-by skinman and ink scape. Hello canvas_draw.
This is the most exciting innovation for me.
Keith