build

fun build(): TextBlob?

Returns TextBlob built from runs of glyphs added by builder. Returned TextBlob is immutable; it may be copied, but its contents may not be altered. Returns null if no runs of glyphs were added by builder.

Resets TextBlobBuilder to its initial empty state, allowing it to be reused to build a new set of runs.

Return

SkTextBlob or null

See also