harfbuzz.segment_properties
Module for [SegmentProperties] class
class SegmentProperties
Types 1
The structure that holds various text properties of an #hb_buffer_t. Can be set and retrieved using [harfbuzz.global.bufferSetSegmentProperties] and [harfbuzz.global.bufferGetSegmentProperties], respectively.
Methods
SegmentProperties self()Returns `this`, for use in `with` statements.harfbuzz.types.Direction direction() @propertyGet `direction` field. Returns: the #hbdirectiont of the buffer, see [harfbuzz.global.bufferSetDirection].void direction(harfbuzz.types.Direction propval) @propertySet `direction` field. Params: propval = the #hbdirectiont of the buffer, see [harfbuzz.global.bufferSetDirection].harfbuzz.types.Script script() @propertyGet `script` field. Returns: the #hbscriptt of the buffer, see [harfbuzz.global.bufferSetScript].void script(harfbuzz.types.Script propval) @propertySet `script` field. Params: propval = the #hbscriptt of the buffer, see [harfbuzz.global.bufferSetScript].harfbuzz.types.Language language() @propertyGet `language` field. Returns: the #hblanguaget of the buffer, see [harfbuzz.global.bufferSetLanguage].Constructors
this(harfbuzz.types.Direction direction = harfbuzz.types.Direction.init, harfbuzz.types.Script script = harfbuzz.types.Script.init)Create a `segmentproperties.SegmentProperties` boxed type. Params: direction = the #hbdirectiont of the buffer, see [harfbuzz.global.bufferSetDirection]. script = the #hbscript_t of the buffer, see...