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 #hb_direction_t of the buffer, see [harfbuzz.global.bufferSetDirection].void direction(harfbuzz.types.Direction propval) @propertySet `direction` field. Params: propval = the #hb_direction_t of the buffer, see [harfbuzz.global.bufferSetDirection].harfbuzz.types.Script script() @propertyGet `script` field. Returns: the #hb_script_t of the buffer, see [harfbuzz.global.bufferSetScript].void script(harfbuzz.types.Script propval) @propertySet `script` field. Params: propval = the #hb_script_t of the buffer, see [harfbuzz.global.bufferSetScript].harfbuzz.types.Language language() @propertyGet `language` field. Returns: the #hb_language_t 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 `segment_properties.SegmentProperties` boxed type. Params: direction = the #hb_direction_t of the buffer, see [harfbuzz.global.bufferSetDirection]. script = the #hb_script_t of the buffer,...