Skip to content

Annotation style strings #189

Open
Open

Description

@jbfaden

I've added a anchorStyle property which uses a string to specify a large number of properties. This works well and I can see I should have done this with the text bubble labelling the annotation as well. There are so many properties I get lost whenever I look at the list. So I'd like to deprecate all these controls and just use a style string.

In Autoplot, this will need an increment to the vap version and code which saves to the old .vap format, and I haven't done this kind of change in many years. I'll make a ticket over there for that required change.

Activity

  1. jbfaden commented on Sep 14, 2026

    @jbfaden
    MemberAuthor

    Also there's an anchorBackground class variable which keeps the state. This needs to be fixed.

  2. jbfaden commented on Sep 16, 2026

    @jbfaden
    MemberAuthor

    anchorBackground was fixed.

  3. jbfaden commented on Sep 16, 2026

    @jbfaden
    MemberAuthor

    fontSize would be another good property. This can be set in the granny text string, but it would be nice to set it out in the style string as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions