Skip to content

# `flShapeInfo`

## fontlab.flShapeInfo = class flShapeInfo(object)

      flShapeInfo representation

      Constructors:
        flShapeInfo()
        flShapeInfo(flObject)
        flShapeInfo(flShapeInfo)
        flShapeInfo(flShape, flSearchInfo)
        flShapeInfo(flShape, QTransform)
        flShapeInfo(flShape, QTransform, QList composites)
        flShapeInfo(flShape, QTransform, flObject glyph_info, QList composites)
        flShapeInfo(flShape, flLayer, QTransform)
        flShapeInfo(flShape, flLayer, flObject glyph_info[, QTransform transform=QTransform()[, QList composites=QList()]])

#### 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

appendComposite(...)

      appendComposite(flShapeInfo)

boundingBox(...)

      QRectF boundingBox()

brectOnCanvas(...)

      QRectF brectOnCanvas()

changed(...)

      changed()

checkInitHistoryState(...)

      checkInitHistoryState(uint history_ix)

clearAboveHistory(...)

      clearAboveHistory(uint history_ix)

clearFlag(...)

      clearFlag(uint f)

clearFlags(...)

      clearFlags()

clone(...)

      Clone the object

combine(...)

      combine(QTransform transform)

compositesTransform(...)

      QTransform compositesTransform()

contains(...)

      bool contains(QPointF canvas_pos[, double s=1])

createHistoryState(...)

      createHistoryState(uint history_ix)

currentHistoryState(...)

      currentHistoryIx()

findNode(...)

      flNode findNode(QPointF)

flag(...)

      flag(uint f)

getContoursInfo(...)

      QList getContoursInfo()

getHitIncludedShape(...)

      flShapeInfo/Nothing getHitIncludedShape(QPointF canvas_pos, double scale[, bool to_bottom=false])

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'

hasAboveComposites(...)

      bool hasAboveComposites()

hasHistoryState(...)

      hasHistoryState(uint history_ix)

historyStates(...)

      historyStates(bool accepted_state)

independedAll(...)

      independedAll()

initialHistoryState(...)

      initialHistoryIx()

isContentLockedSibling(...)

      bool isContentLockedSibling()

isEqual(...)

      isEqual(flObject)

move(...)

      QRectF move(QPointF)

ownerComposite(...)

      flShape ownerComposite()

ownerCompositeInfo(...)

      flShapeInfo ownerCompositeInfo()

pushFrontComposite(...)

      pushFrontComposite(flShapeInfo)

release(...)

      release()

remove(...)

      remove([flObject])

removeChild(...)

      removeChild(flObject)

removeProperty(...)

      removeProperty('key')

replaceShape(...)

      replaceShape(flShape)

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])

takeFirstComposite(...)

      flShapeInfo takeFirstComposite()

takeLastComposite(...)

      flShapeInfo takeLastComposite()

toCanvasTransform(...)

      QTransform toCanvasTransform()

toGlyphTransform(...)

      QTransform toGlyphTransform()

update(...)

      update()

#### Static methods

cloneObject(...)

      flObject cloneObject(const flObject&);

createInstance(...)

      flShapeInfo createInstance()

createObject(...)

      flObject/Nothing createObject(int);

haveObject(...)

      bool haveObject(uint);

instanceType(...)

      int instanceType();

#### Descriptors

composites

      QList

dist

      double dist

glyphInfo

      flObject - glyph info

hasChanges

      bool

hasHistoryStates

      bool

id

      object id

isChanged

      bool

isNull

      bool

isPresent

      bool

isReleased

      bool

isValid

      bool

layer

      flLayer

name

      object name

refCnt

      object references count

shape

      flShape

transform

      transform matrix

type

      object type

#### Attributes

__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}

## `appendComposite`

fontlab.flShapeInfo.appendComposite = appendComposite(...)

      appendComposite(flShapeInfo)

## `boundingBox`

fontlab.flShapeInfo.boundingBox = boundingBox(...)

      QRectF boundingBox()

## `brectOnCanvas`

fontlab.flShapeInfo.brectOnCanvas = brectOnCanvas(...)

      QRectF brectOnCanvas()

## `changed`

fontlab.flShapeInfo.changed = changed(...)

      changed()

## `checkInitHistoryState`

fontlab.flShapeInfo.checkInitHistoryState = checkInitHistoryState(...)

      checkInitHistoryState(uint history_ix)

## `clearAboveHistory`

fontlab.flShapeInfo.clearAboveHistory = clearAboveHistory(...)

      clearAboveHistory(uint history_ix)

## `clearFlag`

fontlab.flShapeInfo.clearFlag = clearFlag(...)

      clearFlag(uint f)

## `clearFlags`

fontlab.flShapeInfo.clearFlags = clearFlags(...)

      clearFlags()

## `clone`

fontlab.flShapeInfo.clone = clone(...)

      Clone the object

## `cloneObject`

fontlab.flShapeInfo.cloneObject = cloneObject(...)

      flObject cloneObject(const flObject&);

## `combine`

fontlab.flShapeInfo.combine = combine(...)

      combine(QTransform transform)

## `composites`

fontlab.flShapeInfo.composites

      QList

## `compositesTransform`

fontlab.flShapeInfo.compositesTransform = compositesTransform(...)

      QTransform compositesTransform()

## `contains`

fontlab.flShapeInfo.contains = contains(...)

      bool contains(QPointF canvas_pos[, double s=1])

## `createHistoryState`

fontlab.flShapeInfo.createHistoryState = createHistoryState(...)

      createHistoryState(uint history_ix)

## `createInstance`

fontlab.flShapeInfo.createInstance = createInstance(...)

      flShapeInfo createInstance()

## `createObject`

fontlab.flShapeInfo.createObject = createObject(...)

      flObject/Nothing createObject(int);

## `currentHistoryState`

fontlab.flShapeInfo.currentHistoryState = currentHistoryState(...)

      currentHistoryIx()

## `dist`

fontlab.flShapeInfo.dist

      double dist

## `findNode`

fontlab.flShapeInfo.findNode = findNode(...)

      flNode findNode(QPointF)

## `flag`

fontlab.flShapeInfo.flag = flag(...)

      flag(uint f)

## `flObjectFlags`

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

## `getContoursInfo`

fontlab.flShapeInfo.getContoursInfo = getContoursInfo(...)

      QList getContoursInfo()

## `getHitIncludedShape`

fontlab.flShapeInfo.getHitIncludedShape = getHitIncludedShape(...)

      flShapeInfo/Nothing getHitIncludedShape(QPointF canvas_pos, double scale[, bool to_bottom=false])

## `getProperties`

fontlab.flShapeInfo.getProperties = getProperties(...)

      Get object's properties list

## `getProperty`

fontlab.flShapeInfo.getProperty = getProperty(...)

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

## `getPropertyFloat`

fontlab.flShapeInfo.getPropertyFloat = getPropertyFloat(...)

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

## `getPropertyInt`

fontlab.flShapeInfo.getPropertyInt = getPropertyInt(...)

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

## `glyphInfo`

fontlab.flShapeInfo.glyphInfo

      flObject - glyph info

## `hasAboveComposites`

fontlab.flShapeInfo.hasAboveComposites = hasAboveComposites(...)

      bool hasAboveComposites()

## `hasChanges`

fontlab.flShapeInfo.hasChanges

      bool

## `hasHistoryState`

fontlab.flShapeInfo.hasHistoryState = hasHistoryState(...)

      hasHistoryState(uint history_ix)

## `hasHistoryStates`

fontlab.flShapeInfo.hasHistoryStates

      bool

## `haveObject`

fontlab.flShapeInfo.haveObject = haveObject(...)

      bool haveObject(uint);

## `historyStates`

fontlab.flShapeInfo.historyStates = historyStates(...)

      historyStates(bool accepted_state)

## `id`

fontlab.flShapeInfo.id

      object id

## `independedAll`

fontlab.flShapeInfo.independedAll = independedAll(...)

      independedAll()

## `initialHistoryState`

fontlab.flShapeInfo.initialHistoryState = initialHistoryState(...)

      initialHistoryIx()

## `instanceType`

fontlab.flShapeInfo.instanceType = instanceType(...)

      int instanceType();

## `isChanged`

fontlab.flShapeInfo.isChanged

      bool

## `isContentLockedSibling`

fontlab.flShapeInfo.isContentLockedSibling = isContentLockedSibling(...)

      bool isContentLockedSibling()

## `isEqual`

fontlab.flShapeInfo.isEqual = isEqual(...)

      isEqual(flObject)

## `isNull`

fontlab.flShapeInfo.isNull

      bool

## `isPresent`

fontlab.flShapeInfo.isPresent

      bool

## `isReleased`

fontlab.flShapeInfo.isReleased

      bool

## `isValid`

fontlab.flShapeInfo.isValid

      bool

## `layer`

fontlab.flShapeInfo.layer

      flLayer

## `move`

fontlab.flShapeInfo.move = move(...)

      QRectF move(QPointF)

## `name`

fontlab.flShapeInfo.name

      object name

## `ownerComposite`

fontlab.flShapeInfo.ownerComposite = ownerComposite(...)

      flShape ownerComposite()

## `ownerCompositeInfo`

fontlab.flShapeInfo.ownerCompositeInfo = ownerCompositeInfo(...)

      flShapeInfo ownerCompositeInfo()

## `pushFrontComposite`

fontlab.flShapeInfo.pushFrontComposite = pushFrontComposite(...)

      pushFrontComposite(flShapeInfo)

## `refCnt`

fontlab.flShapeInfo.refCnt

      object references count

## `release`

fontlab.flShapeInfo.release = release(...)

      release()

## `remove`

fontlab.flShapeInfo.remove = remove(...)

      remove([flObject])

## `removeChild`

fontlab.flShapeInfo.removeChild = removeChild(...)

      removeChild(flObject)

## `removeProperty`

fontlab.flShapeInfo.removeProperty = removeProperty(...)

      removeProperty('key')

## `replaceShape`

fontlab.flShapeInfo.replaceShape = replaceShape(...)

      replaceShape(flShape)

## `restoreHistoryState`

fontlab.flShapeInfo.restoreHistoryState = restoreHistoryState(...)

      restoreHistoryState(uint history_ix)

## `setFlag`

fontlab.flShapeInfo.setFlag = setFlag(...)

      setFlag(uint f [, bool value])

## `setProperty`

fontlab.flShapeInfo.setProperty = setProperty(...)

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

## `setPropertyFloat`

fontlab.flShapeInfo.setPropertyFloat = setPropertyFloat(...)

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

## `setPropertyInt`

fontlab.flShapeInfo.setPropertyInt = setPropertyInt(...)

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

## `shape`

fontlab.flShapeInfo.shape

      flShape

## `tag`

fontlab.flShapeInfo.tag = tag(...)

      tag([string])

## `takeFirstComposite`

fontlab.flShapeInfo.takeFirstComposite = takeFirstComposite(...)

      flShapeInfo takeFirstComposite()

## `takeLastComposite`

fontlab.flShapeInfo.takeLastComposite = takeLastComposite(...)

      flShapeInfo takeLastComposite()

## `toCanvasTransform`

fontlab.flShapeInfo.toCanvasTransform = toCanvasTransform(...)

      QTransform toCanvasTransform()

## `toGlyphTransform`

fontlab.flShapeInfo.toGlyphTransform = toGlyphTransform(...)

      QTransform toGlyphTransform()

## `transform`

fontlab.flShapeInfo.transform

      transform matrix

## `type`

fontlab.flShapeInfo.type

      object type

## `update`

fontlab.flShapeInfo.update = update(...)

      update()