FL.objects.TTHCommand.TTHCommand

class FL.objects.TTHCommand.TTHCommand(code: int | None = None, *args: int)

Bases: object

TTHCommand - class to represent visual TrueType instruction

__init__(code: int | None = None, *args: int) None

Creates command, assigns command code and one or more parameters

Parameters:
  • code (int) – The command code.

  • *args (int) – Zero or more parameters.

See FL.helpers.tth.TT_COMMANDS for valid command codes and their matching parameters.

Methods

__init__([code])

Creates command, assigns command code and one or more parameters

Attributes

code

params