canvas.log

description

Logs the time when the canvas is printed on the page.

syntax

getCanvas(ELEMENT_NAME).log()

example(s)


@newImage("square", "square.png")
@    .size(50, 50)
@,
@newCanvas("shape", 200, 200)
@    .center()
@    .add( 0, 0, newText("description","This is a square") )
@    .print()
$    .log()