Skip to content

Convenience method for setting all sides of Plot2D padding at once #1

@SheepTester

Description

@SheepTester

this.padding = {top: 40, right: 40, left: 40, bottom: 40}

Maybe that could be a fancy Padding class with a setAll method or something, or maybe Plot2D could have that method, idk. It could be hyperfancy by being like CSS's padding shorthand where one argument applies to all, two arguments does vertical then horizontal, etc.

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