paste

MJS / AC Piece API / graphics / done
paste(painting, x, y)

Paste a painting at the given position, anchored from the top left.

Parameters

Name Type Required Description
painting painting | image yes Source bitmap, painting id, or URL.
x, y number no Target top-left position. Defaults to 0,0.
scale number no Optional scale factor.

Returns

void

Runtime Notes

No additional runtime notes yet.

Details

No additional details yet.

Live Preview

Embedded AC preview