JVMBoundaryCalculator

smile.modeling.JVMBoundaryCalculator

Provides utility methods for calculating boundaries around picture elements and positions.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def fromText(text: Text): Bounds

Calculates the bounding box for a given text object.

Calculates the bounding box for a given text object.

Value parameters

text

The Text object for which to calculate the bounding box.

Attributes

Returns

The Bounds representing the bounding box of the text.