Skip to content

# `fgNode`

## fontgate.fgNode = class fgNode(object)

      Node representation

      Constructors:
        fgNode() - default
        fgNode(fgNode) - copy
        fgNode('Move'/'On'/'Off'/'Curve', fgPoint[, smooth=false])
        fgNode('Move'/'On'/'Off'/'Curve', fgPoint, 'name'[, smooth=false])

      Math operation:
        fgNode + fgNode
        fgNode - fgNode
        fgNode * float

#### Methods

__add__(...)

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

__cmp__(...)

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

__delattr__(...)

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

__getattribute__(...)

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

__init__(...)

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

__mul__(...)

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

__radd__(...)

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

__repr__(...)

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

__rmul__(...)

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

__rsub__(...)

      x.__rsub__(y) <==> y-x

__setattr__(...)

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

__sub__(...)

      x.__sub__(y) <==> x-y

isG2(...)

      bool isG2()

isInterpolatedX(...)

      bool isInterpolatedX()

isInterpolatedY(...)

      bool isInterpolatedY()

isOff(...)

      bool isOff()

isOn(...)

      bool isOn()

isSelected(...)

      bool isSelected()

setG2(...)

      setG2([true])

setInterpolatedX(...)

      setInterpolatedX([true])

setInterpolatedY(...)

      setInterpolatedY([true])

setSelected(...)

      setSelected([true])

transform(...)

      transform(fgMatrix)

#### Descriptors

flags

      (int)

kind

      ('Move'/'On'/'Off'/'Curve')

name

      (string)

point

      (fgPoint)

smooth

      (bool)

#### Attributes

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

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

## `flags`

fontgate.fgNode.flags

      (int)

## `isG2`

fontgate.fgNode.isG2 = isG2(...)

      bool isG2()

## `isInterpolatedX`

fontgate.fgNode.isInterpolatedX = isInterpolatedX(...)

      bool isInterpolatedX()

## `isInterpolatedY`

fontgate.fgNode.isInterpolatedY = isInterpolatedY(...)

      bool isInterpolatedY()

## `isOff`

fontgate.fgNode.isOff = isOff(...)

      bool isOff()

## `isOn`

fontgate.fgNode.isOn = isOn(...)

      bool isOn()

## `isSelected`

fontgate.fgNode.isSelected = isSelected(...)

      bool isSelected()

## `kind`

fontgate.fgNode.kind

      ('Move'/'On'/'Off'/'Curve')

## `name`

fontgate.fgNode.name

      (string)

## `point`

fontgate.fgNode.point

      (fgPoint)

## `setG2`

fontgate.fgNode.setG2 = setG2(...)

      setG2([true])

## `setInterpolatedX`

fontgate.fgNode.setInterpolatedX = setInterpolatedX(...)

      setInterpolatedX([true])

## `setInterpolatedY`

fontgate.fgNode.setInterpolatedY = setInterpolatedY(...)

      setInterpolatedY([true])

## `setSelected`

fontgate.fgNode.setSelected = setSelected(...)

      setSelected([true])

## `smooth`

fontgate.fgNode.smooth

      (bool)

## `transform`

fontgate.fgNode.transform = transform(...)

      transform(fgMatrix)