Udostępnij za pośrednictwem


Font.File Property

Definition

Returns a file path of this font.

public Java.IO.File? File { [Android.Runtime.Register("getFile", "()Ljava/io/File;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getFile", "()Ljava/io/File;", "", ApiSince=29)>]
member this.File : Java.IO.File

Property Value

a file path of the font

Attributes

Remarks

Returns a file path of this font.

This returns null if this font is not created from regular file.

Java documentation for android.graphics.fonts.Font.getFile().

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