Skip to content

pre-render #101

Closed
Closed
@bfgeek

Description

@bfgeek

registerPaint(class {
constructor() {
this.otherImage = new PaintRC2D(100, 100);
this.otherImage /* draw commands go here */
}

paint(ctx, ...) {
ctx.drawImage(this.otherImage, 0, 100);
ctx.drawImage(this.otherImage, 0, 200);

}
});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions