Language

TextBoundsInfoFlags Enum

Definition

Describes character properties and line direction in text bounds information.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum TextBoundsInfoFlags
[<System.Flags>]
type TextBoundsInfoFlags = 
Inheritance
TextBoundsInfoFlags
Attributes

Fields

Name Value Description
None 0

No character or line direction flags are set.

CharacterWhitespace 1

The flag indicating that the character is a whitespace.

Android reference for android.view.inputmethod.TextBoundsInfo.FLAG_CHARACTER_WHITESPACE.

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.

CharacterLinefeed 2

The flag indicating that the character is a linefeed character.

Android reference for android.view.inputmethod.TextBoundsInfo.FLAG_CHARACTER_LINEFEED.

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.

CharacterPunctuation 4

The flag indicating that the character is a punctuation.

Android reference for android.view.inputmethod.TextBoundsInfo.FLAG_CHARACTER_PUNCTUATION.

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.

LineIsRtl 8

The flag indicating that the line this character belongs to has RTL line direction. It's required that all characters in the same line must have the same direction.

Android reference for android.view.inputmethod.TextBoundsInfo.FLAG_LINE_IS_RTL.

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

Multiple flags can describe the same character.

Applies to