Language

HyphenationMode Enum

Definition

public enum HyphenationMode
type HyphenationMode = 
Inheritance
HyphenationMode

Fields

Name Value Description
None 0

A value for hyphenation calculation mode. This value indicates that no hyphenation points are calculated.

Android reference for android.graphics.text.MeasuredText.Builder.HYPHENATION_MODE_NONE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Normal 1

A value for hyphenation calculation mode. This value indicates that hyphenation points are calculated.

Android reference for android.graphics.text.MeasuredText.Builder.HYPHENATION_MODE_NORMAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fast 2

A value for hyphenation calculation mode. This value indicates that hyphenation points are calculated with faster algorithm. This algorithm measures text width with ignoring the context of hyphen character shaping, e.g. kerning.

Android reference for android.graphics.text.MeasuredText.Builder.HYPHENATION_MODE_FAST.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to