Skip to content

# `Guide`

## FL.Guide = class Guide(object)

      ===============================================
        Guide - class to represent guideline
      ===============================================
      This class is Multiple Master - compatible

      CONSTRUCTOR:
        Guide() - generic constructor, creates a Guide with zero coordinates
        Guide(Guide) - copy constructor
        Guide(position) - creates a Guide and assigns position
        Guide(position, angle) - creates a Guide and assigns position and width values

      ATTRIBUTES:
        parent (read-only) - Guide's parent object, Glyph
        position (integer) - position of the guideline
        width (integer) - width of the guideline
        angle (float) - angle of the guide (degrees)
        positions [(integer)] - list of positions for each master
        widths [(integer)] - list of widths for each master

      OPERATIONS:

      METHODS
        Transform(Matrix m) - applies Matrix transformation to the Guide (see Matrix().__doc__)
        TransformLayer(Matrix m, layernum) - applies Matrix transformation to the selected layer of the Guide

#### Methods

Transform(...)

TransformLayer(...)

__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

#### Attributes

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

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