Ink
ReferencesRepresents a single text element in a vector image.
Constructors
Properties
Methods
Make
#Make a new text element using the standard font.
SizeRatio
#Measure the size of some text drawn in the given font style.
Parameters:
| text (string) | |
| style (FontStyle = FontStyle.Bold) |
TextToShape
#Create a string of characters designed to be aligned to a small pixel grid. Use this to add crisp but small characters to icons. This method does not handle multi-line input.
Parameters:
| location (PointF) | Location (left edge of baseline). |
| text (string) | Text to include. Only simple characters are available. |
Returns: Shapes which make up the text.