OHOS-UICanvas-FontStyle.md 3.2 KB
Newer Older
W
wenjun 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
# OHOS::UICanvas::FontStyle<a name="ZH-CN_TOPIC_0000001054598183"></a>

## **Overview**<a name="section96896172093533"></a>

**Related Modules:**

[Graphic](Graphic.md)

**Description:**

Defines the font style. 

## **Summary**<a name="section1314628247093533"></a>

## Data Fields<a name="pub-attribs"></a>

<a name="table1275567471093533"></a>
<table><thead align="left"><tr id="row1687489240093533"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p1170807614093533"><a name="p1170807614093533"></a><a name="p1170807614093533"></a>Variable Name</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p1639897245093533"><a name="p1639897245093533"></a><a name="p1639897245093533"></a>Description</p>
</th>
</tr>
</thead>
<tbody><tr id="row1492868187093533"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p985369507093533"><a name="p985369507093533"></a><a name="p985369507093533"></a><a href="Graphic.md#ga0626c6f34c391fd27d24576f01fd4575">direct</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1228404115093533"><a name="p1228404115093533"></a><a name="p1228404115093533"></a><a href="Graphic.md#ga0c108f97781843f67c101b47b6c00cf0">UITextLanguageDirect</a>&nbsp;</p>
</td>
</tr>
<tr id="row1923957192093533"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p341811681093533"><a name="p341811681093533"></a><a name="p341811681093533"></a><a href="Graphic.md#gafa759d19aaa13f4dd0dc6f14cf09c24c">align</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1795088708093533"><a name="p1795088708093533"></a><a name="p1795088708093533"></a><a href="Graphic.md#ga3f99b58f731a37cacde72d5e0c934593">UITextLanguageAlignment</a>&nbsp;</p>
</td>
</tr>
<tr id="row164994803093533"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p434902368093533"><a name="p434902368093533"></a><a name="p434902368093533"></a><a href="Graphic.md#gae17b6d7f13602d89f2b2d56e06b4a71b">fontSize</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1304214442093533"><a name="p1304214442093533"></a><a name="p1304214442093533"></a>uint8_t&nbsp;</p>
</td>
</tr>
<tr id="row1374165345093533"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1526397059093533"><a name="p1526397059093533"></a><a name="p1526397059093533"></a><a href="Graphic.md#ga88db96f0f145614cf3f29f32dc8c623e">letterSpace</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1050241372093533"><a name="p1050241372093533"></a><a name="p1050241372093533"></a>int16_t&nbsp;</p>
</td>
</tr>
<tr id="row1047729970093533"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p756252804093533"><a name="p756252804093533"></a><a name="p756252804093533"></a><a href="Graphic.md#ga5a6088911d1998f93b949c22a3291bed">fontName</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p477213987093533"><a name="p477213987093533"></a><a name="p477213987093533"></a>const char *&nbsp;</p>
</td>
</tr>
</tbody>
</table>