Skip to content

# `fgGuide`

## fontgate.fgGuide = class fgGuide(object)

      Guide representation

      Constructors:
        fgGuide() - default
        fgGuide(fgGuide) - copy
        fgGuide(float pos[, bool horizontal = false])
        fgGuide(fgPoint p0, fgPoint p1[, name=''[, horizonta=false[, color=fgColor]]])

#### Methods

__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

__repr__(...)

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

__setattr__(...)

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

copy(...)

      fgGuide copy() - copy object

#### Descriptors

color

      (fgColor)

horizontal

      True if guide is horizontal

index

      (int) index in owner guides list

name

      (string) guide name

p0

      (fgPoint)

p1

      (fgPoint)

position

      (int) y value of p0, p1 if guide is horizontal, x value - if vertical, none if guide nor horizontal/vertical

vertical

      True if guide is vertical

#### Attributes

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

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

## `color`

fontgate.fgGuide.color

      (fgColor)

## `copy`

fontgate.fgGuide.copy = copy(...)

      fgGuide copy() - copy object

## `horizontal`

fontgate.fgGuide.horizontal

      True if guide is horizontal

## `index`

fontgate.fgGuide.index

      (int) index in owner guides list

## `name`

fontgate.fgGuide.name

      (string) guide name

## `p0`

fontgate.fgGuide.p0

      (fgPoint)

## `p1`

fontgate.fgGuide.p1

      (fgPoint)

## `position`

fontgate.fgGuide.position

      (int) y value of p0, p1 if guide is horizontal, x value - if vertical, none if guide nor horizontal/vertical

## `vertical`

fontgate.fgGuide.vertical

      True if guide is vertical