Skip to content

Question on ShapeInfo.rectangle #65

@brettz9

Description

@brettz9

With:

ShapeInfo.rectangle({x: 100, y: 150, width: 30, height: 10});

...I'm getting:

[
  0: Point2D {x: 100, y: 150}
  1: Point2D {x: 200, y: 300}
]

I would have expected the second point to be extrapolated from the height and width. Is this an error, or are the docs that mention mix-and-matching being ok not applicable here?

Thanks!

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