Component

FL.Component = class Component(object)

===============================================
  Component - class to represent glyph component
===============================================
Components are defined by the glyph index which they reference, shift of components origin point and scale factor of a component
scale is measured in relation to 1.0, so 100% scale is 1.0 and 60% - 0.6
This class is Multiple Master - compatible

CONSTRUCTOR:
  Component() - generic constructor, creates an empty Component
  Component(Component) - copy constructor
  Component(index) - creates component referencing glyph index with zero shift and 100% scale
  Component(index, Point(integer) delta) - creates component referencing glyph index with delta shift and 100% scale
  Component(index, Point(integer) delta, Point(float) scale) - creates component referencing glyph index with delta shift and scale factor defined by scale

ATTRIBUTES:
  parent (read-only) - parent object, Glyph
  index (integer) - referencing glyph index
  delta (Point(integer)) - shift value
  scale (Point(float)) - scale factor
  deltas [(Point(integer))]- list of shift values for each master
  scales [(Point(float))] - list of scale values for each master

OPERATIONS:

METHODS
  Get() | (Font f) - creates a glyph from component applying delta and scale transformations. Font parameter is not needed when component has a parent
  Paste() - appends component to a parent glyph as a set of outlines. Component must have a parent

Methods

Get(...)


Paste(...)


__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
transform(...)


Attributes

__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T