Skip to content

# `flAnchor`

## fontlab.flAnchor = class flAnchor(object)

      flAnchor representation

      Constructors:
        flAnchor() - default
        flAnchor(flAnchor) - copy
        flAnchor(flObject)

#### Methods

__delattr__(...)

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

__eq__(...)

      x.__eq__(y) <==> x==y

__ge__(...)

      x.__ge__(y) <==> x>=y

__getattribute__(...)

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

__gt__(...)

      x.__gt__(y) <==> x>y

__init__(...)

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

__le__(...)

      x.__le__(y) <==> x<=y

__lt__(...)

      x.__lt__(y) <==> x

__ne__(...)

      x.__ne__(y) <==> x!=y

__repr__(...)

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

__setattr__(...)

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

added(...)

      added()

changed(...)

      changed()

checkInitHistoryState(...)

      checkInitHistoryState(uint history_ix)

clearAboveHistory(...)

      clearAboveHistory(uint history_ix)

clearFlag(...)

      clearFlag(uint f)

clearFlags(...)

      clearFlags()

clone(...)

      Clone the object

createHistoryState(...)

      createHistoryState(uint history_ix)

currentHistoryState(...)

      currentHistoryIx()

flag(...)

      flag(uint f)

getProperties(...)

      Get object's properties list

getProperty(...)

      getProperty('key') - get object property by 'key' or number

getPropertyFloat(...)

      getPropertyFloat('key') - get float object property by 'key'

getPropertyInt(...)

      getPropertyInt('key') - get int object property by 'key'

hasHistoryState(...)

      hasHistoryState(uint history_ix)

hasObject(...)

      bool hasObject(flObject)

historyStates(...)

      historyStates(bool accepted_state)

independedAll(...)

      independedAll()

initialHistoryState(...)

      initialHistoryIx()

isEqual(...)

      isEqual(flObject)

release(...)

      release()

remove(...)

      remove([flObject])

removeChild(...)

      removeChild(flObject)

removeProperty(...)

      removeProperty('key')

removed(...)

      removed()

restoreHistoryState(...)

      restoreHistoryState(uint history_ix)

setFlag(...)

      setFlag(uint f [, bool value])

setProperty(...)

      setProperty('key', value) - set object property by 'key' or number

setPropertyFloat(...)

      setPropertyFloat('key', value) - set float object property by 'key'

setPropertyInt(...)

      setPropertyInt('key', value) - set int object property by 'key'

tag(...)

      tag([string])

update(...)

      update()

#### Static methods

cloneObject(...)

      flObject cloneObject(const flObject&);

createObject(...)

      flObject/Nothing createObject(int);

haveObject(...)

      bool haveObject(uint);

instanceType(...)

      int instanceType();

#### Descriptors

anchorCode

      quint64

anchorPoint

      QPointF

fixHorzDirection

      bool

fixVertDirection

      bool

hasChanges

      bool

hasHistoryStates

      bool

id

      object id

isChanged

      bool

isGlobal

      bool

isNull

      bool

isPresent

      bool

isReleased

      bool

isValid

      bool

name

      object name

refCnt

      object references count

type

      object type

#### Attributes

ModeSnap = {'CoordSnap': 256, 'SnapToHorz': 64, 'SnapToVert': 128}

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

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

flObjectFlags = {'ofAnchored': 64, 'ofChanged': 2, 'ofHistory': 128, 'ofIgnore': 8, 'ofIgnoreChanges': 4, 'ofPassive': 16, 'ofReleased': 1, 'ofSlowUpdate': 32}

## `added`

fontlab.flAnchor.added = added(...)

      added()

## `anchorCode`

fontlab.flAnchor.anchorCode

      quint64

## `anchorPoint`

fontlab.flAnchor.anchorPoint

      QPointF

## `changed`

fontlab.flAnchor.changed = changed(...)

      changed()

## `checkInitHistoryState`

fontlab.flAnchor.checkInitHistoryState = checkInitHistoryState(...)

      checkInitHistoryState(uint history_ix)

## `clearAboveHistory`

fontlab.flAnchor.clearAboveHistory = clearAboveHistory(...)

      clearAboveHistory(uint history_ix)

## `clearFlag`

fontlab.flAnchor.clearFlag = clearFlag(...)

      clearFlag(uint f)

## `clearFlags`

fontlab.flAnchor.clearFlags = clearFlags(...)

      clearFlags()

## `clone`

fontlab.flAnchor.clone = clone(...)

      Clone the object

## `cloneObject`

fontlab.flAnchor.cloneObject = cloneObject(...)

      flObject cloneObject(const flObject&);

## `createHistoryState`

fontlab.flAnchor.createHistoryState = createHistoryState(...)

      createHistoryState(uint history_ix)

## `createObject`

fontlab.flAnchor.createObject = createObject(...)

      flObject/Nothing createObject(int);

## `currentHistoryState`

fontlab.flAnchor.currentHistoryState = currentHistoryState(...)

      currentHistoryIx()

## `fixHorzDirection`

fontlab.flAnchor.fixHorzDirection

      bool

## `fixVertDirection`

fontlab.flAnchor.fixVertDirection

      bool

## `flag`

fontlab.flAnchor.flag = flag(...)

      flag(uint f)

## `flObjectFlags`

fontlab.flAnchor.flObjectFlags = {'ofAnchored': 64, 'ofChanged': 2, 'ofHistory': 128, 'ofIgnore': 8, 'ofIgnoreChanges': 4, 'ofPassive': 16, 'ofReleased': 1, 'ofSlowUpdate': 32}

## `getProperties`

fontlab.flAnchor.getProperties = getProperties(...)

      Get object's properties list

## `getProperty`

fontlab.flAnchor.getProperty = getProperty(...)

      getProperty('key') - get object property by 'key' or number

## `getPropertyFloat`

fontlab.flAnchor.getPropertyFloat = getPropertyFloat(...)

      getPropertyFloat('key') - get float object property by 'key'

## `getPropertyInt`

fontlab.flAnchor.getPropertyInt = getPropertyInt(...)

      getPropertyInt('key') - get int object property by 'key'

## `hasChanges`

fontlab.flAnchor.hasChanges

      bool

## `hasHistoryState`

fontlab.flAnchor.hasHistoryState = hasHistoryState(...)

      hasHistoryState(uint history_ix)

## `hasHistoryStates`

fontlab.flAnchor.hasHistoryStates

      bool

## `hasObject`

fontlab.flAnchor.hasObject = hasObject(...)

      bool hasObject(flObject)

## `haveObject`

fontlab.flAnchor.haveObject = haveObject(...)

      bool haveObject(uint);

## `historyStates`

fontlab.flAnchor.historyStates = historyStates(...)

      historyStates(bool accepted_state)

## `id`

fontlab.flAnchor.id

      object id

## `independedAll`

fontlab.flAnchor.independedAll = independedAll(...)

      independedAll()

## `initialHistoryState`

fontlab.flAnchor.initialHistoryState = initialHistoryState(...)

      initialHistoryIx()

## `instanceType`

fontlab.flAnchor.instanceType = instanceType(...)

      int instanceType();

## `isChanged`

fontlab.flAnchor.isChanged

      bool

## `isEqual`

fontlab.flAnchor.isEqual = isEqual(...)

      isEqual(flObject)

## `isGlobal`

fontlab.flAnchor.isGlobal

      bool

## `isNull`

fontlab.flAnchor.isNull

      bool

## `isPresent`

fontlab.flAnchor.isPresent

      bool

## `isReleased`

fontlab.flAnchor.isReleased

      bool

## `isValid`

fontlab.flAnchor.isValid

      bool

## `ModeSnap`

fontlab.flAnchor.ModeSnap = {'CoordSnap': 256, 'SnapToHorz': 64, 'SnapToVert': 128}

## `name`

fontlab.flAnchor.name

      object name

## `refCnt`

fontlab.flAnchor.refCnt

      object references count

## `release`

fontlab.flAnchor.release = release(...)

      release()

## `remove`

fontlab.flAnchor.remove = remove(...)

      remove([flObject])

## `removeChild`

fontlab.flAnchor.removeChild = removeChild(...)

      removeChild(flObject)

## `removed`

fontlab.flAnchor.removed = removed(...)

      removed()

## `removeProperty`

fontlab.flAnchor.removeProperty = removeProperty(...)

      removeProperty('key')

## `restoreHistoryState`

fontlab.flAnchor.restoreHistoryState = restoreHistoryState(...)

      restoreHistoryState(uint history_ix)

## `setFlag`

fontlab.flAnchor.setFlag = setFlag(...)

      setFlag(uint f [, bool value])

## `setProperty`

fontlab.flAnchor.setProperty = setProperty(...)

      setProperty('key', value) - set object property by 'key' or number

## `setPropertyFloat`

fontlab.flAnchor.setPropertyFloat = setPropertyFloat(...)

      setPropertyFloat('key', value) - set float object property by 'key'

## `setPropertyInt`

fontlab.flAnchor.setPropertyInt = setPropertyInt(...)

      setPropertyInt('key', value) - set int object property by 'key'

## `tag`

fontlab.flAnchor.tag = tag(...)

      tag([string])

## `type`

fontlab.flAnchor.type

      object type

## `update`

fontlab.flAnchor.update = update(...)

      update()