dojox/gfx.Font (version 1.10)

Summary

An object specifying the properties for a Font used in text operations.

Property Summary

  • familyThe font family, one of 'serif', 'sanserif', ..., default value 'serif'.
  • sizeThe font size (including units), default value '10pt'.
  • styleThe font style, one of 'normal', 'bold', default value 'normal'.
  • typeSpecifies this object is a Font, value 'font'.
  • variantThe font variant, one of 'normal', ... , default value 'normal'.
  • weightThe font weight, one of 'normal', ..., default value 'normal'.

Properties

family
Defined by: dojox/gfx/_base

The font family, one of 'serif', 'sanserif', ..., default value 'serif'.

size
Defined by: dojox/gfx/_base

The font size (including units), default value '10pt'.

style
Defined by: dojox/gfx/_base

The font style, one of 'normal', 'bold', default value 'normal'.

type
Defined by: dojox/gfx/_base

Specifies this object is a Font, value 'font'.

variant
Defined by: dojox/gfx/_base

The font variant, one of 'normal', ... , default value 'normal'.

weight
Defined by: dojox/gfx/_base

The font weight, one of 'normal', ..., default value 'normal'.

Error in the documentation? Can’t find what you are looking for? Let us know!