Freigeben über


Font.CreateFromAsset(RenderScript, Resources, String, Single) Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("createFromAsset", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/lang/String;F)Landroid/renderscript/Font;", "")]
[System.Obsolete("deprecated")]
public static Android.Renderscripts.Font? CreateFromAsset (Android.Renderscripts.RenderScript? rs, Android.Content.Res.Resources? res, string? path, float pointSize);
[<Android.Runtime.Register("createFromAsset", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/lang/String;F)Landroid/renderscript/Font;", "")>]
[<System.Obsolete("deprecated")>]
static member CreateFromAsset : 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

Java documentation for android.renderscript.Font.createFromAsset(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