TextWritingMode

enum TextWritingMode : Enum<TextWritingMode> , LayerProperty

The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.

Parameters

value

String value of this property

Entries

HORIZONTAL
Link copied to clipboard
HORIZONTAL("horizontal")
If a text's language supports horizontal writing mode, symbols with point placement would be laid out horizontally.
VERTICAL
Link copied to clipboard
VERTICAL("vertical")
If a text's language supports vertical writing mode, symbols with point placement would be laid out vertically.

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: TextWritingMode): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
fun finalize()
getDeclaringClass
Link copied to clipboard
fun getDeclaringClass(): Class<TextWritingMode>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
value
Link copied to clipboard
open override val value: String
String value of this property