Partager via


Font.CreateFromResource(RenderScript, Resources, Int32, Single) Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("createFromResource", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;IF)Landroid/renderscript/Font;", "")]
[System.Obsolete("deprecated")]
public static Android.Renderscripts.Font? CreateFromResource (Android.Renderscripts.RenderScript? rs, Android.Content.Res.Resources? res, int id, float pointSize);
[<Android.Runtime.Register("createFromResource", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;IF)Landroid/renderscript/Font;", "")>]
[<System.Obsolete("deprecated")>]
static member CreateFromResource : Android.Renderscripts.RenderScript * Android.Content.Res.Resources * int * single -> Android.Renderscripts.Font

Parameters

res
Resources
id
Int32
pointSize
Single

Returns

Attributes

Remarks

This member is deprecated. in API 16

Java documentation for android.renderscript.Font.createFromResource(android.renderscript.RenderScript, android.content.res.Resources, int, 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