Font Class

Represents a specific typeface.

Global resource fonts can be specified directly on Text and TextInput objects:

<Text Font="PlatformDefault" />

Or inline based on an .otf or .ttf file:

<Text Value="Hello!">
    <Font File="arial.ttf" />
</Text>

To create a global resource font from a file, use the ux:Global attribute:

<Font File="arial.ttf" ux:Global="MyDefaultFont" />
<Text Font="MyDefaultFont" />

Location

Namespace
Fuse
Package
Fuse.Common 1.4.0

Interface of Font

Bold : Font uno

The default font of the system, in it's bold typeface.

Italic : Font uno

The default font of the system, in it's regular weight, italic typeface.

Light : Font uno

The default font of the system, in it's light weight typeface.

Medium : Font uno

The default font of the system, in it's medium typeface.

Regular : Font uno

The default font of the system, in it's regular weight typeface.

Thin : Font uno

The default font of the system, in it's thin weight typeface.

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.