Skip to content

# `fgPen`

## fontgate.fgPen = class fgPen(object)

      Pen representation

      Constructors:
        fgPen(fgGlyph) - default
        fgPen(fgPen) - copy

#### Methods

__delattr__(...)

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

__getattribute__(...)

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

__init__(...)

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

__repr__(...)

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

__setattr__(...)

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

beginPath(...)

      beginPath()

closePath(...)

      closePath()

curveTo(...)

      curveTo(fgPoint...)

curveToOne(...)

      curveToOne(fgPoint, fgPoint, fgPoint)

endPath(...)

      endPath()

lineTo(...)

      lineTo(fgPoint)

moveTo(...)

      moveTo(fgPoint)

qCurveToOne(...)

      qCurveToOne(fgPoint, fgPoint)

#### Descriptors

smooth

      (bool)

#### Attributes

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

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

## `beginPath`

fontgate.fgPen.beginPath = beginPath(...)

      beginPath()

## `closePath`

fontgate.fgPen.closePath = closePath(...)

      closePath()

## `curveTo`

fontgate.fgPen.curveTo = curveTo(...)

      curveTo(fgPoint...)

## `curveToOne`

fontgate.fgPen.curveToOne = curveToOne(...)

      curveToOne(fgPoint, fgPoint, fgPoint)

## `endPath`

fontgate.fgPen.endPath = endPath(...)

      endPath()

## `lineTo`

fontgate.fgPen.lineTo = lineTo(...)

      lineTo(fgPoint)

## `moveTo`

fontgate.fgPen.moveTo = moveTo(...)

      moveTo(fgPoint)

## `qCurveToOne`

fontgate.fgPen.qCurveToOne = qCurveToOne(...)

      qCurveToOne(fgPoint, fgPoint)

## `smooth`

fontgate.fgPen.smooth

      (bool)