Modifier

Partager via


SKFontStyle Constructors

Definition

Overloads

SKFontStyle()

Creates a new SKFontStyle with a normal weight, a normal width and upright.

SKFontStyle(SKFontStyleWeight, SKFontStyleWidth, SKFontStyleSlant)

Creates a new SKFontStyle with the specified weight, width and slant.

SKFontStyle(Int32, Int32, SKFontStyleSlant)

Creates a new SKFontStyle with the specified weight, width and slant.

SKFontStyle()

Creates a new SKFontStyle with a normal weight, a normal width and upright.

public SKFontStyle ();

Applies to

SKFontStyle(SKFontStyleWeight, SKFontStyleWidth, SKFontStyleSlant)

Creates a new SKFontStyle with the specified weight, width and slant.

public SKFontStyle (SkiaSharp.SKFontStyleWeight weight, SkiaSharp.SKFontStyleWidth width, SkiaSharp.SKFontStyleSlant slant);

Parameters

weight
SKFontStyleWeight

The weight (light or bold).

width
SKFontStyleWidth

The width (condensed or expanded).

slant
SKFontStyleSlant

The slant (italic).

Applies to

SKFontStyle(Int32, Int32, SKFontStyleSlant)

Creates a new SKFontStyle with the specified weight, width and slant.

public SKFontStyle (int weight, int width, SkiaSharp.SKFontStyleSlant slant);

Parameters

weight
Int32

The weight (light or bold).

width
Int32

The width (condensed or expanded).

slant
SKFontStyleSlant

The slant (italic).

Applies to