Bitwig Studio Control Surface API  5.0.11
TextExtents Interface Reference

Public Member Functions

double getBearingX ()
 
double getBearingY ()
 
double getWidth ()
 
double getHeight ()
 
double getAdvanceX ()
 
double getAdvanceY ()
 

Detailed Description

Represent the size required to display some text.

Member Function Documentation

◆ getAdvanceX()

double getAdvanceX ( )

Returns the distance to advance in the X direction after drawing these glyphs.

◆ getAdvanceY()

double getAdvanceY ( )

Returns the distance to advance in the Y direction after drawing these glyphs. Will typically be zero except for vertical text layout as found in East-Asian languages.

◆ getBearingX()

double getBearingX ( )

Returns the horizontal distance from the origin to the leftmost part of the glyphs as drawn. Positive if the glyphs lie entirely to the right of the origin.

◆ getBearingY()

double getBearingY ( )

Returns the vertical distance from the origin to the topmost part of the glyphs as drawn. Positive only if the glyphs lie completely below the origin; will usually be negative.

◆ getHeight()

double getHeight ( )

Returns the height of the glyphs as drawn.

◆ getWidth()

double getWidth ( )

Returns the width of the glyphs as drawn.


The documentation for this interface was generated from the following file: