I am trying to do some text entity manipulation in gh. I have noticed this “Fit Text” component in the annotation text settings, with number options to choose the text’s relation to a space.
I can’t figure out how ‘fit text’ retrieves the information necessary to determine a ‘space’, since none of the other components in AS-Text are geometry based.
I made note of the tool tip, but still this is precisely my question: From where does Fit Text retrieve information about the space to fit the text?
In the following attached, there is a rectangle, and its centroid is used as the xy plane coordinate to project the text entity onto.
However, the text is very wide in comparison to the boundary of the rectangle.
This is obviously because the rectangle has not been read as an established ‘space’, and I can’t figure out how AS-Text or Annotation Style can offer that capability.
So that is my question: When, for example, Fit Text option 0 says: “Display inside when space permits,” where is Fit Text retrieving any spatial information?