Font.Create(RenderScript, Resources, String, Font+Style, 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
Selects a system font for the requested family, style, and size.
[Android.Runtime.Register("create", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/lang/String;Landroid/renderscript/Font$Style;F)Landroid/renderscript/Font;", "")]
[System.Obsolete("deprecated")]
public static Android.Renderscripts.Font? Create(Android.Renderscripts.RenderScript? rs, Android.Content.Res.Resources? res, string? familyName, Android.Renderscripts.Font.Style? fontStyle, float pointSize);
[<Android.Runtime.Register("create", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;Ljava/lang/String;Landroid/renderscript/Font$Style;F)Landroid/renderscript/Font;", "")>]
[<System.Obsolete("deprecated")>]
static member Create : Android.Renderscripts.RenderScript * Android.Content.Res.Resources * string * Android.Renderscripts.Font.Style * single -> Android.Renderscripts.Font
Parameters
- rs
- RenderScript
The RenderScript context that owns the font.
- res
- Resources
The resources supplying the display density.
- familyName
- String
The requested system font family.
- fontStyle
- Font.Style
The requested style within the family.
- pointSize
- Single
The font size, in points.
Returns
The font loaded from the selected system font file.
- Attributes
Remarks
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.