This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 223
Expand file tree
/
Copy pathfontStyles.xml
More file actions
77 lines (62 loc) · 2.15 KB
/
Copy pathfontStyles.xml
File metadata and controls
77 lines (62 loc) · 2.15 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<doc>
<legacy_id>1453</legacy_id>
<name>fontStyles</name>
<type>function</type>
<syntax>
<example>fontStyles (<i>fontName</i>, <i>fontSize</i>)</example>
</syntax>
<synonyms>
</synonyms>
<summary><glossary tag="return">Returns</glossary> a list of styles available for a <glossary tag="font">font</glossary> and size.</summary>
<examples>
<example>fontStyles ("Helvetica", 9)</example>
<example>fontStyles (thisFont, 0)</example>
</examples>
<history>
<introduced version="1.0">Added.</introduced>
<deprecated version=""></deprecated>
<removed version=""></removed>
<changed version="4.5.3">Added Support for iOS.</changed>
</history>
<objects>
</objects>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<classification>
<category>Appearance & Positioning</category>
</classification>
<references>
<function tag="fontNames">fontNames Function</function>
<function tag="fontSizes">fontSizes Function</function>
<property tag="printTextStyle">printTextStyle Property</property>
<property tag="textStyle">textStyle Property</property>
</references>
<description>
<overview>Use the <b>fontStyles</b> function to determine which font styles can be displayed or printed.</overview>
<parameters>
<parameter>
<name>fontName</name>
<description>The name of a font that is installed on the system.</description>
</parameter>
<parameter>
<name>fontSize</name>
<description>A point size that exists for the font.</description>
</parameter>
</parameters>
<value>The <b>fontStyles</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a list of available styles, one per line.</value>
<comments>If you specify a <i>fontSize</i> of zero, the styles <glossary tag="return">returned</glossary> are the ones that are scalable for the specified font.<p>The font styles are returned in a return delimited list, such as the following one:</p><p></p><p> plain</p><p> bold</p><p> italic</p><p> bold-italic</p></comments>
</description>
</doc>