Bearbeiten

Freigeben über


SKFontStyleWeight Enum

Definition

Various predefined font weights for use with SKTypeface.

public enum SKFontStyleWeight
Inheritance
SKFontStyleWeight

Fields

Name Value Description
Invisible 0

The font has no thickness at all.

Thin 100

A thin font weight of 100.

ExtraLight 200

A thin font weight of 200.

Light 300

A thin font weight of 300.

Normal 400

A typical font weight of 400. This is the default font weight.

Medium 500

A thicker font weight of 500.

SemiBold 600

A thick font weight of 600.

Bold 700

A thick font weight of 700. This is the default for a bold font.

ExtraBold 800

A thick font weight of 800.

Black 900

A thick font weight of 900.

ExtraBlack 1000

A thick font weight of 1000.

Remarks

Font weights can range from anywhere between 100 to 1000 (inclusive).

Applies to