Cursor Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum Cursor
type Cursor =
- Inheritance
-
Cursor
Fields
| Name | Value | Description |
|---|---|---|
| After | 0 | Option for getTextRunCursor. Compute the valid cursor after offset or the limit of the context, whichever is less. Android reference for 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. |
| AtOrAfter | 1 | Option for getTextRunCursor. Compute the valid cursor at or after the offset or the limit of the context, whichever is less. Android reference for 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. |
| Before | 2 | Option for getTextRunCursor. Compute the valid cursor before offset or the start of the context, whichever is greater. Android reference for 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. |
| AtOrBefore | 3 | Option for getTextRunCursor. Compute the valid cursor at or before offset or the start of the context, whichever is greater. Android reference for 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. |
| At | 4 | Option for getTextRunCursor. Return offset if the cursor at offset is valid, or -1 if it isn't. Android reference for 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. |