TypeScript API Documentation for PANGO
API Version: 1.0
Library Version: 1.57.0
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 1.44
Apply language-specific tailoring to the breaks in attrs.
attrs
The line breaks are assumed to have been produced by Pango.default_break.
If offset is not -1, it is used to apply attributes from analysis that are relevant to line breaking.
offset
analysis
Note that it is better to pass -1 for offset and use Pango.attr_break to apply attributes to the whole paragraph.
text to process. Must be valid UTF-8
length in bytes of text
text
Pango.Analysis for text
Byte offset of text from the beginning of the paragraph, or -1 to ignore attributes from analysis
1.44
Apply language-specific tailoring to the breaks in
attrs.The line breaks are assumed to have been produced by Pango.default_break.
If
offsetis not -1, it is used to apply attributes fromanalysisthat are relevant to line breaking.Note that it is better to pass -1 for
offsetand use Pango.attr_break to apply attributes to the whole paragraph.