Skip to content

Center for polygon/star/etc shapes #344

@smashley3000

Description

@smashley3000

First, many thanks for creating this great tool!

I don't think of this as an issue per se but more of an enhancement request. Perhaps these are just quirks of underlying libraries. I've noticed when creating stars and certain polygon shapes that the center of the shape isn't necessarily in the center of the control/sizing box. This is especially obvious with stars and triangles. Because that box seems to default in the center of the workspace, I think it makes sense for the center of the shape to be in the center of the box. I see a few different solutions though I'm not a strong coder so I'm unsure which is best or simplest:

  1. Ensure the center of polygon and similar shape is in the center of the box
  2. Place some visual queue like a '+' or 'x' to denote the center of the shape vs the box. This should be visually obviously not part of the shape itself.
  3. Add a 'center shape in workspace' button or some option in 'fine tuning' to adjust this.

I think 1 makes the most sense from a useability perspective so the center of a shape will always default to the center of the work area, or perhaps even a combination of 1 and 2 to make placement easier when moved.

As a side note, I've noticed that stars default to 95x100 (for me at least). Again I'm not a strong coder but looking at code I think this is a function of my table dimensions? I was about to log a separate issue thinking they were asymmetrical (example if you take a 4 pointed star and copy it, then rotate the copy 90 degrees the points don't line up) but then I realised it was just the scale/transform setting confusing me.

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