ShapeText

ITextShaper.ShapeText method

Returns Cluster objects generated from a sequence of text fragments. Length of the returned array is equal to length of runs. If run at an index has corresponding clusters then result at the same index will have them recorded.

public Cluster[][] ShapeText(string[] runs, Direction direction, UnicodeScript script, 
    params FontFeature[] fontFeatures)
ParameterTypeDescription
runsString[]A sequence of text fragments
directionDirectionA direction of text
scriptUnicodeScriptA script
fontFeaturesFontFeature[]A set of features to consider

See Also