Skip to content

Canvas2D Layers #7329

Closed
Closed
@Juanmihd

Description

@Juanmihd

A javascript interface for using layers within canvas.

Provide a beginLayer() and endLayer() functions that create and close layers for Canvas. These methods provide an alternative method for applying a filter, shadow or compositing to a set of drawn operations (as opposed to a single one), other than having to create a temporary canvas and then draw the temporary canvas into the intended canvas.

Working proposal: https://github.com/fserb/canvas2D/blob/master/spec/layers.md

(cc @whatwg/canvas)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions