EmphasisStyle


sealed class EmphasisStyle


Defines the visual style of emphasis marks used with EmphasisSpan.

Each style corresponds to a specific Unicode character pair (filled and open variants).

Summary

Public companion properties

EmphasisStyle

Emphasis mark is a large circle.

EmphasisStyle

Emphasis mark is a small circle.

EmphasisStyle

Emphasis mark is a double circle.

EmphasisStyle

Emphasis mark is a sesame.

EmphasisStyle

Emphasis mark is a triangle.

Protected constructors

Public properties

Int

The integer representation of this style, used for serialization.

Public companion properties

Circle

val Circle: EmphasisStyle

Emphasis mark is a large circle. The filled dot is U+25CF, open dot is U+25CB.

Dot

val Dot: EmphasisStyle

Emphasis mark is a small circle. The filled dot is U+2022, open dot is U+25E6.

DoubleCircle

val DoubleCircle: EmphasisStyle

Emphasis mark is a double circle. The filled dot is U+25C9, open dot is U+25CE.

Sesame

val Sesame: EmphasisStyle

Emphasis mark is a sesame. The filled dot is U+FE45, open dot is U+FE46.

Triangle

val Triangle: EmphasisStyle

Emphasis mark is a triangle. The filled dot is U+25B2, open dot is U+25B3.

Protected constructors

EmphasisStyle

protected EmphasisStyle(value: Int)

Public properties

value

Added in 1.0.0-beta02
val value: Int

The integer representation of this style, used for serialization.