Język

JustificationMode Enum

Definition

Specifies how a line breaker adjusts spacing to justify text.

public enum JustificationMode
type JustificationMode = 
Inheritance
JustificationMode

Fields

Name Value Description
None 0

Value for justification mode indicating no justification.

Android reference for android.graphics.text.LineBreaker.JUSTIFICATION_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.

InterWord 1

Value for justification mode indicating the text is justified by stretching word spacing.

Android reference for android.graphics.text.LineBreaker.JUSTIFICATION_MODE_INTER_WORD.

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.

InterCharacter 2

Value for justification mode indicating the text is justified by stretching letter spacing.

Android reference for android.graphics.text.LineBreaker.JUSTIFICATION_MODE_INTER_CHARACTER.

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.

Remarks

Use these values with SetJustificationMode(JustificationMode). The default is None.

This enum exposes the JUSTIFICATION_MODE_* constants from Android 16 LineBreaker.

Applies to