Font.CreateFromAsset(RenderScript, Resources, String, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- rs
- RenderScript
The RenderScript context that owns the font.
- res
- Resources
The resources supplying the asset manager and display density.
- path
- String
The path to the font in the assets.
- pointSize
- Single
The font size, in points.
Returns
The font loaded from the asset.
- Attributes
Remarks
This member is deprecated. in API 16
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.