Returns an object containing dimensions of the Text object.
The Text object to calculate the size from.
The Text metrics to use when calculating the size.
The lines of text to calculate the size from.
Returns an object containing dimensions of the Text object.