TextFit
TextFit =
"stretchOrShrink"|"stretchOnly"|"proportional"
Defined in: style/style_image.ts:44
Possible values for StyleImageMetadata.textFitWidth and textFitHeight.
stretchOrShrink: The image will be resized on the specified axis to tightly fit the content rectangle to target text. This is the same as not being defined.stretchOnly: The image will be resized on the specified axis to fit the content rectangle to the target text, but will not fall below the aspect ratio of the original content rectangle if the other axis is set to proportional.proportional: The image will be resized on the specified axis to fit the content rectangle to the target text and will resize the other axis to maintain the aspect ratio of the content rectangle.