static std::unique_ptr< ParagraphBuilder > make(const ParagraphStyle &style, sk_sp< FontCollection > fontCollection, sk_sp< SkUnicode > unicode)
virtual const ParagraphStyle & getParagraphStyle() const =0
virtual ~ParagraphBuilder()=default
virtual void addText(const std::u16string &text)=0
virtual TextStyle peekStyle()=0
virtual void addText(const char *text, size_t len)=0
virtual void addPlaceholder(const PlaceholderStyle &placeholderStyle)=0
virtual void pushStyle(const TextStyle &style)=0
virtual std::unique_ptr< Paragraph > Build()=0
virtual SkSpan< char > getText()=0
virtual void addText(const char *text)=0