flSnapObject

fontlab.flSnapObject = class flSnapObject(object)

flSnapObject representation

Constructors:
  flSnapObject()
  flSnapObject(flObject)
  flSnapObject(flSnapObject)

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
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()
distanceTo(...)
double distanceTo(QPointF, uint mode)
flag(...)
flag(uint f)
getHashCode(...)
SnapHashCode getHashCode()
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)
historyStates(...)
historyStates(bool accepted_state)
independedAll(...)
independedAll()
initialHistoryState(...)
initialHistoryIx()
isEqual(...)
isEqual(flObject)
offsetTo(...)
QPointF offsetTo(QPointF, uint mode)
release(...)
release()
remove(...)
remove([flObject])
removeChild(...)
removeChild(flObject)
removeProperty(...)
removeProperty('key')
reset(...)
reset()
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'
setSnapFlag(...)
setSnapFlag(uint role, uint snapFlags)
setSnapFlagValue(...)
setSnapFlagValue(uint role, bool)
snapFlag(...)
uint snapFlag(uint role)
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

hasChanges
bool
hasHistoryStates
bool
id
object id
isChanged
bool
isExluded
bool
isHint
bool
isInUse
bool
isMeasurementLine
bool
isNull
bool
isPassive
bool
isPresent
bool
isReleased
bool
isValid
bool
isZone
bool
name
object name
refCnt
object references count
snapFlags
uint
style
SnapObjectsStyle
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}

changed

fontlab.flSnapObject.changed = changed(...)
changed()

checkInitHistoryState

fontlab.flSnapObject.checkInitHistoryState = checkInitHistoryState(...)
checkInitHistoryState(uint history_ix)

clearAboveHistory

fontlab.flSnapObject.clearAboveHistory = clearAboveHistory(...)
clearAboveHistory(uint history_ix)

clearFlag

fontlab.flSnapObject.clearFlag = clearFlag(...)
clearFlag(uint f)

clearFlags

fontlab.flSnapObject.clearFlags = clearFlags(...)
clearFlags()

clone

fontlab.flSnapObject.clone = clone(...)
Clone the object

cloneObject

fontlab.flSnapObject.cloneObject = cloneObject(...)
flObject cloneObject(const flObject&);

createHistoryState

fontlab.flSnapObject.createHistoryState = createHistoryState(...)
createHistoryState(uint history_ix)

createObject

fontlab.flSnapObject.createObject = createObject(...)
flObject/Nothing createObject(int);

currentHistoryState

fontlab.flSnapObject.currentHistoryState = currentHistoryState(...)
currentHistoryIx()

distanceTo

fontlab.flSnapObject.distanceTo = distanceTo(...)
double distanceTo(QPointF, uint mode)

flag

fontlab.flSnapObject.flag = flag(...)
flag(uint f)

flObjectFlags

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

getHashCode

fontlab.flSnapObject.getHashCode = getHashCode(...)
SnapHashCode getHashCode()

getProperties

fontlab.flSnapObject.getProperties = getProperties(...)
Get object's properties list

getProperty

fontlab.flSnapObject.getProperty = getProperty(...)
getProperty('key') - get object property by 'key' or number

getPropertyFloat

fontlab.flSnapObject.getPropertyFloat = getPropertyFloat(...)
getPropertyFloat('key') - get float object property by 'key'

getPropertyInt

fontlab.flSnapObject.getPropertyInt = getPropertyInt(...)
getPropertyInt('key') - get int object property by 'key'

hasChanges

fontlab.flSnapObject.hasChanges
bool

hasHistoryState

fontlab.flSnapObject.hasHistoryState = hasHistoryState(...)
hasHistoryState(uint history_ix)

hasHistoryStates

fontlab.flSnapObject.hasHistoryStates
bool

haveObject

fontlab.flSnapObject.haveObject = haveObject(...)
bool haveObject(uint);

historyStates

fontlab.flSnapObject.historyStates = historyStates(...)
historyStates(bool accepted_state)

id

fontlab.flSnapObject.id
object id

independedAll

fontlab.flSnapObject.independedAll = independedAll(...)
independedAll()

initialHistoryState

fontlab.flSnapObject.initialHistoryState = initialHistoryState(...)
initialHistoryIx()

instanceType

fontlab.flSnapObject.instanceType = instanceType(...)
int instanceType();

isChanged

fontlab.flSnapObject.isChanged
bool

isEqual

fontlab.flSnapObject.isEqual = isEqual(...)
isEqual(flObject)

isExluded

fontlab.flSnapObject.isExluded
bool

isHint

fontlab.flSnapObject.isHint
bool

isInUse

fontlab.flSnapObject.isInUse
bool

isMeasurementLine

fontlab.flSnapObject.isMeasurementLine
bool

isNull

fontlab.flSnapObject.isNull
bool

isPassive

fontlab.flSnapObject.isPassive
bool

isPresent

fontlab.flSnapObject.isPresent
bool

isReleased

fontlab.flSnapObject.isReleased
bool

isValid

fontlab.flSnapObject.isValid
bool

isZone

fontlab.flSnapObject.isZone
bool

name

fontlab.flSnapObject.name
object name

offsetTo

fontlab.flSnapObject.offsetTo = offsetTo(...)
QPointF offsetTo(QPointF, uint mode)

refCnt

fontlab.flSnapObject.refCnt
object references count

release

fontlab.flSnapObject.release = release(...)
release()

remove

fontlab.flSnapObject.remove = remove(...)
remove([flObject])

removeChild

fontlab.flSnapObject.removeChild = removeChild(...)
removeChild(flObject)

removeProperty

fontlab.flSnapObject.removeProperty = removeProperty(...)
removeProperty('key')

reset

fontlab.flSnapObject.reset = reset(...)
reset()

restoreHistoryState

fontlab.flSnapObject.restoreHistoryState = restoreHistoryState(...)
restoreHistoryState(uint history_ix)

setFlag

fontlab.flSnapObject.setFlag = setFlag(...)
setFlag(uint f [, bool value])

setProperty

fontlab.flSnapObject.setProperty = setProperty(...)
setProperty('key', value) - set object property by 'key' or number

setPropertyFloat

fontlab.flSnapObject.setPropertyFloat = setPropertyFloat(...)
setPropertyFloat('key', value) - set float object property by 'key'

setPropertyInt

fontlab.flSnapObject.setPropertyInt = setPropertyInt(...)
setPropertyInt('key', value) - set int object property by 'key'

setSnapFlag

fontlab.flSnapObject.setSnapFlag = setSnapFlag(...)
setSnapFlag(uint role, uint snapFlags)

setSnapFlagValue

fontlab.flSnapObject.setSnapFlagValue = setSnapFlagValue(...)
setSnapFlagValue(uint role, bool)

snapFlag

fontlab.flSnapObject.snapFlag = snapFlag(...)
uint snapFlag(uint role)

snapFlags

fontlab.flSnapObject.snapFlags
uint

style

fontlab.flSnapObject.style
SnapObjectsStyle

tag

fontlab.flSnapObject.tag = tag(...)
tag([string])

type

fontlab.flSnapObject.type
object type

update

fontlab.flSnapObject.update = update(...)
update()