pub unsafe extern "C" fn OH_Drawing_TextLineGetStringIndexForPosition(
line: *mut OH_Drawing_TextLine,
point: *mut OH_Drawing_Point,
) -> i32Available on crate feature
api-18 only.Expand description
Gets the string index of the given position.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeDrawing
§Arguments
-
line- Indicates the pointer to an OH_Drawing_TextLine object. -
point- Indicates the pointer to an OH_Drawing_Point object.
§Returns
- Returns the string index for a given position.
Available since API-level: 18