Method Measure
Measure(FontFace, Twips, Twips, int)
Measures one face's single-line box and packages it with an already-measured advance.
public static TextLineMetrics Measure(FontFace face, Twips emSize, Twips totalAdvance, int clusterCount)
Parameters
faceFontFaceThe face to measure. Must not be null.
emSizeTwipsThe em size in twips.
totalAdvanceTwipsThe horizontal advance already measured for the run.
clusterCountintThe number of clusters the advance covers.
Returns
- TextLineMetrics
Line metrics in twips.