Analysis

class Analysis(val pangoAnalysisPointer: <Error class: unknown class><<Error class: unknown class>>)(source)

The PangoAnalysis structure stores information about the properties of a segment of text.

Constructors

Link copied to clipboard
constructor()

Allocate a new Analysis.

constructor(scope: <Error class: unknown class>)

Allocate a new Analysis using the provided AutofreeScope.

constructor(    font: Font?,     level: <Error class: unknown class>,     gravity: <Error class: unknown class>,     flags: <Error class: unknown class>,     script: <Error class: unknown class>,     language: Language?,     extraAttrs: <Error class: unknown class>?)

Allocate a new Analysis.

constructor(    font: Font?,     level: <Error class: unknown class>,     gravity: <Error class: unknown class>,     flags: <Error class: unknown class>,     script: <Error class: unknown class>,     language: Language?,     extraAttrs: <Error class: unknown class>?,     scope: <Error class: unknown class>)

Allocate a new Analysis using the provided AutofreeScope.

constructor(pangoAnalysisPointer: <Error class: unknown class><<Error class: unknown class>>)

Properties

Link copied to clipboard
var extraAttrs: <Error class: unknown class>?

extra attributes for this segment.

Link copied to clipboard
var flags: <Error class: unknown class>

boolean flags for this segment (Since: 1.16).

Link copied to clipboard
var font: Font?

the font for this segment.

Link copied to clipboard
var gravity: <Error class: unknown class>

the glyph orientation for this segment (A PangoGravity).

Link copied to clipboard

the detected language for this segment.

Link copied to clipboard
var level: <Error class: unknown class>

the bidirectional level for this segment.

Link copied to clipboard
val pangoAnalysisPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var script: <Error class: unknown class>

the detected script for this segment (A PangoScript) (Since: 1.18).

Functions

Link copied to clipboard
open override fun toString(): String