Partager via


Font.CreateFromFile Method

Definition

Overloads

CreateFromFile(RenderScript, Resources, File, Single)
Obsolete.

This member is deprecated.

CreateFromFile(RenderScript, Resources, String, Single)
Obsolete.

This member is deprecated.

CreateFromFile(RenderScript, Resources, File, Single)

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("createFromFile", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/io/File;F)Landroid/renderscript/Font;", "")]
[System.Obsolete("deprecated")]
public static Android.Renderscripts.Font? CreateFromFile (Android.Renderscripts.RenderScript? rs, Android.Content.Res.Resources? res, Java.IO.File? path, float pointSize);
[<Android.Runtime.Register("createFromFile", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/io/File;F)Landroid/renderscript/Font;", "")>]
[<System.Obsolete("deprecated")>]
static member CreateFromFile : Android.Renderscripts.RenderScript * Android.Content.Res.Resources * Java.IO.File * single -> Android.Renderscripts.Font

Parameters

res
Resources
path
File
pointSize
Single

Returns

Attributes

Remarks

This member is deprecated. in API 16

Java documentation for android.renderscript.Font.createFromFile(android.renderscript.RenderScript, android.content.res.Resources, java.io.File, float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

CreateFromFile(RenderScript, Resources, String, Single)

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("createFromFile", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/lang/String;F)Landroid/renderscript/Font;", "")]
[System.Obsolete("deprecated")]
public static Android.Renderscripts.Font? CreateFromFile (Android.Renderscripts.RenderScript? rs, Android.Content.Res.Resources? res, string? path, float pointSize);
[<Android.Runtime.Register("createFromFile", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/lang/String;F)Landroid/renderscript/Font;", "")>]
[<System.Obsolete("deprecated")>]
static member CreateFromFile : Android.Renderscripts.RenderScript * Android.Content.Res.Resources * string * single -> Android.Renderscripts.Font

Parameters

res
Resources
path
String
pointSize
Single

Returns

Attributes

Remarks

This member is deprecated. in API 16 Takes a specific file name as an argument

Java documentation for android.renderscript.Font.createFromFile(android.renderscript.RenderScript, android.content.res.Resources, java.lang.String, float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to