ShapingOptions

class ShapingOptions(fontMgr: FontMgr?, features: Array<FontFeature>?, isLeftToRight: Boolean, isApproximateSpaces: Boolean, isApproximatePunctuation: Boolean)

Constructors

Link copied to clipboard
constructor(fontMgr: FontMgr?, features: Array<FontFeature>?, isLeftToRight: Boolean, isApproximateSpaces: Boolean, isApproximatePunctuation: Boolean)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun withApproximatePunctuation(_approximatePunctuation: Boolean): ShapingOptions

If enabled, fallback font runs will not be broken by punctuation from original font

Link copied to clipboard
fun withApproximateSpaces(_approximateSpaces: Boolean): ShapingOptions

If enabled, fallback font runs will not be broken by whitespace from original font

Link copied to clipboard

If enabled, fallback font runs will not be broken by punctuation from original font

fun withFeatures(featuresString: String?): ShapingOptions
Link copied to clipboard
Link copied to clipboard