25
<summary>To be added.</summary>
26
<remarks>To be added.</remarks>
25
<summary>Represents a CoreText Font.</summary>
29
CoreText does not synthesize font styles (italic and bold).
30
This means that if you pick a font that has neither a Bolded
31
or Italicized versions available, CoreText will not create a
32
dynamic font that is merely a slanted version of the font for
33
italic, or a boldened version from the original font. In
34
those cases, if you want to synthesize the font, you could
35
apply a Matrix transformation to slant the font (it will still
36
be wrong, but will look slanted). For bolding, you could
37
stroke the font twice, or manually extend the glyph path.
41
<related type="sample" href="http://samples.xamarin.com/Samples/ByGuid?guid=cb71419a-f5de-4239-aa70-260ce1813e55">SimpleTextInput</related>
29
44
<Member MemberName=".ctor">
38
53
<Parameter Name="size" Type="System.Single" />
41
<param name="descriptor">To be added.</param>
42
<param name="size">To be added.</param>
56
<param name="descriptor">Font descriptor to use to create the font.</param>
57
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
43
58
<summary>To be added.</summary>
44
59
<remarks>To be added.</remarks>
56
71
<Parameter Name="size" Type="System.Single" />
59
<param name="name">To be added.</param>
60
<param name="size">To be added.</param>
74
<param name="name">The name of the font. Use PostScript names (for example "HelveticaNeue").</param>
75
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
61
76
<summary>To be added.</summary>
62
<remarks>To be added.</remarks>
80
Although currently iOS this allows the "name" parameter to
81
use aliases to the font, in addition to the Postscript
82
name, use of non-Postscript names for this parameter has
83
been deprecated, due to the slow and expensive fallback
89
If you want to create fonts from other names (like the fullname "Helvetica Neue" instead of the PostScript name "HelveticaNeue") you can use <see cref="C:MonoMac.CoreText.CTFontDescriptor(MonoMac.CoreText.CTFontDescriptorAttributes)" />.
65
95
<Member MemberName=".ctor">
78
108
<param name="font">To be added.</param>
79
<param name="size">To be added.</param>
80
<param name="transform">To be added.</param>
109
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
110
<param name="transform">Transformation matrix for the font, if null, it uses the identity matrix.</param>
81
111
<summary>To be added.</summary>
82
112
<remarks>To be added.</remarks>
95
125
<Parameter Name="descriptor" Type="MonoMac.CoreText.CTFontDescriptor" />
98
<param name="font">To be added.</param>
99
<param name="size">To be added.</param>
100
<param name="descriptor">To be added.</param>
101
<summary>To be added.</summary>
128
<param name="font">The CoreGraphics CGFont.</param>
129
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
130
<param name="descriptor">Font descriptor to use to create the font.</param>
131
<summary>Creates a CTFont from a CoreGraphics CGFont.</summary>
102
132
<remarks>To be added.</remarks>
115
145
<Parameter Name="matrix" Type="MonoMac.CoreGraphics.CGAffineTransform&" RefType="ref" />
118
<param name="descriptor">To be added.</param>
119
<param name="size">To be added.</param>
120
<param name="matrix">To be added.</param>
121
<summary>To be added.</summary>
122
<remarks>To be added.</remarks>
148
<param name="descriptor">Font descriptor to use to create the font.</param>
149
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
150
<param name="matrix">Transformation matrix for the font, if null, it uses the identity matrix.</param>
151
<summary>Creates a CTFont from a CTFontDescriptor.</summary>
125
156
<Member MemberName=".ctor">
135
166
<Parameter Name="options" Type="MonoMac.CoreText.CTFontOptions" />
138
<param name="descriptor">To be added.</param>
139
<param name="size">To be added.</param>
140
<param name="options">To be added.</param>
169
<param name="descriptor">Font descriptor to use to create the font.</param>
170
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
171
<param name="options">Configuration options for the font creation.</param>
141
172
<summary>To be added.</summary>
142
173
<remarks>To be added.</remarks>
158
189
<param name="uiType">To be added.</param>
159
<param name="size">To be added.</param>
190
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
160
191
<param name="language">To be added.</param>
161
192
<summary>To be added.</summary>
162
193
<remarks>To be added.</remarks>
175
206
<Parameter Name="matrix" Type="MonoMac.CoreGraphics.CGAffineTransform&" RefType="ref" />
178
<param name="name">To be added.</param>
179
<param name="size">To be added.</param>
180
<param name="matrix">To be added.</param>
209
<param name="name">The name of the font. Use PostScript names (for example "HelveticaNeue").</param>
210
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
211
<param name="matrix">Transformation matrix for the font, if null, it uses the identity matrix.</param>
181
212
<summary>To be added.</summary>
182
213
<remarks>To be added.</remarks>
195
226
<Parameter Name="options" Type="MonoMac.CoreText.CTFontOptions" />
198
<param name="name">To be added.</param>
199
<param name="size">To be added.</param>
200
<param name="options">To be added.</param>
229
<param name="name">The name of the font. Use PostScript names (for example "HelveticaNeue").</param>
230
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
231
<param name="options">Configuration options for the font creation.</param>
201
232
<summary>To be added.</summary>
202
233
<remarks>To be added.</remarks>
219
250
<param name="font">To be added.</param>
220
<param name="size">To be added.</param>
221
<param name="transform">To be added.</param>
222
<param name="descriptor">To be added.</param>
251
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
252
<param name="transform">Transformation matrix for the font, if null, it uses the identity matrix.</param>
253
<param name="descriptor">Font descriptor to use to create the font.</param>
223
254
<summary>To be added.</summary>
224
255
<remarks>To be added.</remarks>
238
269
<Parameter Name="matrix" Type="MonoMac.CoreGraphics.CGAffineTransform&" RefType="ref" />
241
<param name="descriptor">To be added.</param>
242
<param name="size">To be added.</param>
243
<param name="options">To be added.</param>
244
<param name="matrix">To be added.</param>
272
<param name="descriptor">Font descriptor to use to create the font.</param>
273
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
274
<param name="options">Configuration options for the font creation.</param>
275
<param name="matrix">Transformation matrix for the font, if null, it uses the identity matrix.</param>
245
276
<summary>To be added.</summary>
246
277
<remarks>To be added.</remarks>
260
291
<Parameter Name="options" Type="MonoMac.CoreText.CTFontOptions" />
263
<param name="name">To be added.</param>
264
<param name="size">To be added.</param>
265
<param name="matrix">To be added.</param>
266
<param name="options">To be added.</param>
294
<param name="name">The name of the font. Use PostScript names (for example "HelveticaNeue").</param>
295
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
296
<param name="matrix">Transformation matrix for the font, if null, it uses the identity matrix.</param>
297
<param name="options">Configuration options for the font creation.</param>
267
298
<summary>To be added.</summary>
268
299
<remarks>To be added.</remarks>
379
<summary>Releases the resourced used by the CTFont object.</summary>
410
<summary>Releases the resources used by the CTFont object.</summary>
381
412
<para>The Dispose method releases the resources used by the CTFont class.</para>
382
413
<para>Calling the Dispose method when you are finished using the CTFont ensures that all external resources used by this managed object are released as soon as possible. Once you have invoked the Dispose method, the object is no longer useful and you should no longer make any calls to it. For more information on releasing resources see ``Cleaning up Unmananaged Resources'' at http://msdn.microsoft.com/en-us/library/498928w2.aspx</para>
400
431
<param name="disposing">
401
432
<para>If set to <see langword="true" />, the method is invoked directly and will dispose manage and unmanaged resources; If set to <see langword="false" /> the method is being called by the garbage collector finalizer and should only release unmanaged resources.</para>
403
<summary>Releases the resourced used by the CTFont object.</summary>
434
<summary>Releases the resources used by the CTFont object.</summary>
405
436
<para>This Dispose method releases the resources used by the CTFont class.</para>
406
437
<para>This method is called by both the Dispose() method and the object finalizer (Finalize). When invoked by the Dispose method, the parameter disposting <paramref name="disposing" /> is set to <see langword="true" /> and any managed object references that this object holds are also disposed or released; when invoked by the object finalizer, on the finalizer thread the value is set to <see langword="false" />. </para>
644
675
<remarks>To be added.</remarks>
678
<Member MemberName="GetDefaultCascadeList">
679
<MemberSignature Language="C#" Value="public MonoMac.CoreText.CTFontDescriptor[] GetDefaultCascadeList (string[] languages);" />
680
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class MonoMac.CoreText.CTFontDescriptor[] GetDefaultCascadeList(string[] languages) cil managed" />
681
<MemberType>Method</MemberType>
683
<AssemblyVersion>0.0.0.0</AssemblyVersion>
687
<AttributeName>MonoMac.ObjCRuntime.Since(6, 0)</AttributeName>
691
<ReturnType>MonoMac.CoreText.CTFontDescriptor[]</ReturnType>
694
<Parameter Name="languages" Type="System.String[]" />
697
<param name="languages">To be added.</param>
698
<summary>To be added.</summary>
699
<returns>To be added.</returns>
700
<remarks>To be added.</remarks>
647
703
<Member MemberName="GetFeatures">
648
704
<MemberSignature Language="C#" Value="public MonoMac.CoreText.CTFontFeatures[] GetFeatures ();" />
649
705
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class MonoMac.CoreText.CTFontFeatures[] GetFeatures() cil managed" />
850
906
<remarks>To be added.</remarks>
909
<Member MemberName="GetOpticalBounds">
910
<MemberSignature Language="C#" Value="public System.Drawing.RectangleF GetOpticalBounds (ushort[] glyphs, System.Drawing.RectangleF[] boundingRects, int count, MonoMac.CoreText.CTFontOptions options = MonoMac.CoreText.CTFontOptions.Default);" />
911
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Drawing.RectangleF GetOpticalBounds(unsigned int16[] glyphs, valuetype System.Drawing.RectangleF[] boundingRects, int32 count, valuetype MonoMac.CoreText.CTFontOptions options) cil managed" />
912
<MemberType>Method</MemberType>
914
<AssemblyVersion>0.0.0.0</AssemblyVersion>
918
<AttributeName>MonoMac.ObjCRuntime.Since(6, 0)</AttributeName>
922
<ReturnType>System.Drawing.RectangleF</ReturnType>
925
<Parameter Name="glyphs" Type="System.UInt16[]" />
926
<Parameter Name="boundingRects" Type="System.Drawing.RectangleF[]" />
927
<Parameter Name="count" Type="System.Int32" />
928
<Parameter Name="options" Type="MonoMac.CoreText.CTFontOptions" />
931
<param name="glyphs">To be added.</param>
932
<param name="boundingRects">To be added.</param>
933
<param name="count">To be added.</param>
934
<param name="options">To be added.</param>
935
<summary>To be added.</summary>
936
<returns>To be added.</returns>
937
<remarks>To be added.</remarks>
853
940
<Member MemberName="GetPathForGlyph">
854
941
<MemberSignature Language="C#" Value="public MonoMac.CoreGraphics.CGPath GetPathForGlyph (ushort glyph);" />
855
942
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class MonoMac.CoreGraphics.CGPath GetPathForGlyph(unsigned int16 glyph) cil managed" />
1059
1146
<ReturnType>MonoMac.CoreGraphics.CGAffineTransform</ReturnType>
1062
<summary>To be added.</summary>
1063
<value>To be added.</value>
1064
<remarks>To be added.</remarks>
1149
<summary>The transformation matrix used when this font was created.</summary>
1067
1156
<Member MemberName="PostScriptName">
1091
1180
<ReturnType>System.Single</ReturnType>
1094
<summary>To be added.</summary>
1095
<value>To be added.</value>
1096
<remarks>To be added.</remarks>
1183
<summary>The font size.</summary>
1186
<remarks>This is the size that was used when the font was constructed.</remarks>
1099
1189
<Member MemberName="SlantAngle">
1261
1351
<Parameter Name="attributes" Type="MonoMac.CoreText.CTFontDescriptor" />
1264
<param name="size">To be added.</param>
1354
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
1265
1355
<param name="attributes">To be added.</param>
1266
1356
<summary>To be added.</summary>
1267
1357
<returns>To be added.</returns>
1284
1374
<Parameter Name="matrix" Type="MonoMac.CoreGraphics.CGAffineTransform&" RefType="ref" />
1287
<param name="size">To be added.</param>
1377
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
1288
1378
<param name="attributes">To be added.</param>
1289
1379
<param name="matrix">To be added.</param>
1290
1380
<summary>To be added.</summary>
1307
1397
<Parameter Name="family" Type="System.String" />
1310
<param name="size">To be added.</param>
1400
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
1311
1401
<param name="family">To be added.</param>
1312
1402
<summary>To be added.</summary>
1313
1403
<returns>To be added.</returns>
1330
1420
<Parameter Name="matrix" Type="MonoMac.CoreGraphics.CGAffineTransform&" RefType="ref" />
1333
<param name="size">To be added.</param>
1423
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
1334
1424
<param name="family">To be added.</param>
1335
1425
<param name="matrix">To be added.</param>
1336
1426
<summary>To be added.</summary>
1354
1444
<Parameter Name="symTraitMask" Type="MonoMac.CoreText.CTFontSymbolicTraits" />
1357
<param name="size">To be added.</param>
1447
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
1358
1448
<param name="symTraitValue">To be added.</param>
1359
1449
<param name="symTraitMask">To be added.</param>
1360
1450
<summary>To be added.</summary>
1379
1469
<Parameter Name="matrix" Type="MonoMac.CoreGraphics.CGAffineTransform&" RefType="ref" />
1382
<param name="size">To be added.</param>
1472
<param name="size">The desired font size. If you specify zero, it will use the system default.</param>
1383
1473
<param name="symTraitValue">To be added.</param>
1384
1474
<param name="symTraitMask">To be added.</param>
1385
1475
<param name="matrix">To be added.</param>