Skip to content

Add 'drawStyle' setting #97

@ChemicalLuck

Description

@ChemicalLuck

The CanvasRenderingContext2D interface has methods: fillText and strokeText.
strokeText draws the outline of the font.

My suggestion is to add a drawStyle field to CanvasTextConfig with values fill and outline.

I'm happy to implement this and raise a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions