• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_Drawing_String
2
3
4## Overview
5
6The OH_Drawing_String struct describes a string of characters encoded in UTF-16.
7
8**Since**: 14
9
10**Related module**: [Drawing](_drawing.md)
11
12**Header file**: [drawing_types.h](drawing__types_8h.md)
13
14## Summary
15
16
17### Member Variables
18
19| Name| Description|
20| -------- | -------- |
21| uint8_t \* [strData](#strdata) | Pointer to a byte array that stores characters in the UTF-16 encoding format. |
22| uint32_t [strLen](#strlen) | Actual length of the string that **strData** points to, in bytes. |
23
24
25## Member Variable Description
26
27
28### strData
29
30```
31uint8_t* OH_Drawing_String::strData
32```
33**Description**
34
35Pointer to a byte array that stores characters in the UTF-16 encoding format.
36
37
38### strLen
39
40```
41uint32_t OH_Drawing_String::strLen
42```
43**Description**
44
45Actual length of the string that **strData** points to, in bytes.
46