Skip to content

# `fgHints`

## fontgate.fgHints = class fgHints(object)

      list of fgHint objects

#### Methods

__add__(...)

      x.__add__(y) <==> x+y

__cmp__(...)

      x.__cmp__(y) <==> cmp(x,y)

__delattr__(...)

      x.__delattr__('name') <==> del x.name

__delitem__(...)

      x.__delitem__(y) <==> del x[y]

__delslice__(...)

      x.__delslice__(i, j) <==> del x[i:j]

      Use of negative indices is not supported.

__getattribute__(...)

      x.__getattribute__('name') <==> x.name

__getitem__(...)

      x.__getitem__(y) <==> x[y]

__getslice__(...)

      x.__getslice__(i, j) <==> x[i:j]

      Use of negative indices is not supported.

__init__(...)

      x.__init__(...) initializes x; see help(type(x)) for signature

__len__(...)

      x.__len__() <==> len(x)

__mul__(...)

      x.__mul__(n) <==> x*n

__repr__(...)

      x.__repr__() <==> repr(x)

__rmul__(...)

      x.__rmul__(n) <==> n*x

__setattr__(...)

      x.__setattr__('name', value) <==> x.name = value

__setitem__(...)

      x.__setitem__(i, y) <==> x[i]=y

__setslice__(...)

      x.__setslice__(i, j, y) <==> x[i:j]=y

      Use  of negative indices is not supported.

append(...)

      append(item) or append( list(item) ) - add items to the end of the list

asList(...)

      list(items) asList() - get items as list

clean(...)

      clean() - delete all items

del(...)

      del(index) - delete item by index

getAsDict(...)

      dict(items) getAsDict()

getAsList(...)

insert(...)

      insert(position, item) - insert item into list at specified position

removeByName(...)

      removeByName('name')

removeHV(...)

      removeHV(float v, float dv, bool horizontal)

setFromDict(...)

      setFromDict(dict(items))

setFromList(...)

#### Attributes

__new__ = <built-in method __new__ of type object>

      T.__new__(S, ...) -> a new object with type S, a subtype of T

## `append`

fontgate.fgHints.append = append(...)

      append(item) or append( list(item) ) - add items to the end of the list

## `asList`

fontgate.fgHints.asList = asList(...)

      list(items) asList() - get items as list

## `clean`

fontgate.fgHints.clean = clean(...)

      clean() - delete all items

## `del`

fontgate.fgHints.del = del(...)

      del(index) - delete item by index

## `getAsDict`

fontgate.fgHints.getAsDict = getAsDict(...)

      dict(items) getAsDict()

## `insert`

fontgate.fgHints.insert = insert(...)

      insert(position, item) - insert item into list at specified position

## `removeByName`

fontgate.fgHints.removeByName = removeByName(...)

      removeByName('name')

## `removeHV`

fontgate.fgHints.removeHV = removeHV(...)

      removeHV(float v, float dv, bool horizontal)

## `setFromDict`

fontgate.fgHints.setFromDict = setFromDict(...)

      setFromDict(dict(items))