API Docs for:
Show:

RendererToken Class

Module: gs

Stores a token.

Item Index

Methods

applyFormat

(
  • font
)

Applies the format-style of the token on the specified font. The font will have the style from then token then.

Parameters:

  • font gs.Font
    • The font to apply the format-style on.

takeFormat

(
  • font
)

Takes the style from the specified font and stores it into the format-property. The token will will be rendered with that style then.

Parameters:

  • font gs.Font
    • The font to take the style from.