flAbstractVectorNode

fontlab.flAbstractVectorNode = class flAbstractVectorNode(object)

flAbstractVectorNode representation

Constructors:
  flAbstractVectorNode(flAbstractVectorNode)
  flAbstractVectorNode(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
angleTo(...)
double angleTo(QPointF p)
applyTransform(...)
applyTransform(QTransform)
canBeHobby(...)
bool canBeHobby()
canBeSmooth(...)
bool canBeSmooth()
canCollapse(...)
bool canCollapse()
canImprove(...)
bool canImprove()
changed(...)
changed()
checkInitHistoryState(...)
checkInitHistoryState(uint history_ix)
checkVectors(...)
bool checkVectors()
clearAboveHistory(...)
clearAboveHistory(uint history_ix)
clearFlag(...)
clearFlag(uint f)
clearFlags(...)
clearFlags()
clearStored(...)
clearStored()
clone(...)
Clone the object
cloneMapped(...)
flNode cloneMapped(QTransform)
collapseHandles(...)
bool collapseHandles()
convertToCurve(...)
bool convertToCurve([bool smooth = false])
convertToCurves(...)
bool convertToCurves()
convertToLine(...)
bool convertToLine()
copyFrom(...)
copyFrom(Node[, withSelected=False])
createHistoryState(...)
createHistoryState(uint history_ix)
currentHistoryState(...)
currentHistoryIx()
distanceTo(...)
double distanceTo(Node/QPointF)
flag(...)
flag(uint f)
getLines(...)
(QLineF, QLineF)/None getLines()
getOn(...)
Node/None getOn()
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)
improve(...)
bool improve()
independedAll(...)
independedAll()
initialHistoryState(...)
initialHistoryIx()
isCorner(...)
bool isCorner([double a = 10.])
isCurve(...)
bool isCurve()
isEqual(...)
isEqual(flObject)
isEqualTo(...)
bool isEqualTo(Node[, tolerance=0.1[, offset=QPointF(0, 0)]])
isExtreme(...)
bool isExtreme(bool x[, bool open = true[, double limit = 0]])
isFirst(...)
bool isFirst()
isG2(...)
bool isG2(double tolerance)
isInternal(...)
bool isInternal(bool clockwise)
isInterpolated(...)
bool isInterpolated(bool x)
isLast(...)
bool isLast()
isOff(...)
bool isOff()
isOn(...)
bool isOn()
isSmartAngle(...)
bool isSmartAngle()
makeStart(...)
bool makeStart()
moveBy(...)
moveBy(float dx, float dy[, bool round=false]
nextNode(...)
Node/None nextNode([string nodeType= [, int searchDepth=1]])
pointG2(...)
QPointF/None pointG2()
prevNode(...)
Node/None prevNode([string nodeType= [, int searchDepth=1]])
release(...)
release()
remove(...)
remove([flObject])
removeChild(...)
removeChild(flObject)
removeProperty(...)
removeProperty('key')
restoreCoordinates(...)
restoreCoordinates()
restoreHistoryState(...)
restoreHistoryState(uint history_ix)
rotateBy(...)
rotateBy(valueDegree[, QPointF origin=(0, 0)])
round(...)
round() - Round the node's coordinate
scaleBy(...)
scaleBy(valueXY | (valueX, valueY)[, QPointF origin=(0, 0)])
setExtraLast(...)
setExtraLast(bool)
setFlag(...)
setFlag(uint f [, bool value])
setNextSmooth(...)
setNextSmooth(QPointF base)
setPosition(...)
void setPosition(QPointF)
setPrevSmooth(...)
setPrevSmooth(QPointF base)
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'
setSmartAngleEnbl(...)
bool setSmartAngleEnbl(bool)
setSmartSharp(...)
bool setSmartSharp([double tension = 0.6])
skewBy(...)
skewBy(valueDegreeX | (valueDegreX, valueDegreY)[, QPointF origin=(0, 0)])
smartMove(...)
list(uint) smartMove(offset)
smartSetXY(...)
smartSetXY(QPointF)
storeCoordinates(...)
storeCoordinates()
storeTestParameters(...)
storeTestParameters()
tag(...)
tag([string])
transformBy(...)
transformBy(QTransform tx[, QPointF origin=(0, 0)])
update(...)
update()
updateG2(...)
bool updateG2()
updateSmooth(...)
updateSmooth([bool extended_neibh=true])

Static methods

cloneObject(...)
flObject cloneObject(const flObject&);
createObject(...)
flObject/Nothing createObject(int);
haveObject(...)
bool haveObject(uint);
instanceType(...)
int instanceType();

Descriptors

angle
angle
contour
The parent Contour or None if not present
g2
g2
hasChanges
bool
hasHistoryStates
bool
hobby
hobby
id
object id
index
The index of the node in parent's contour (if present, otherwise -1)
interpolated
interpolated
interpolatedX
interpolatedX
interpolatedY
interpolatedY
isChanged
bool
isNull
bool
isPresent
bool
isReleased
bool
isSelectedAlone
bool
isTerminal
bool
isValid
bool
name
object name
nodeState
nodeState
position
Coordinates of the node as QPointF
preview
preview
refCnt
object references count
scv
scv
selected
The selected flag
smartAngleR
smartAngleR
smooth
The smooth flag
state
state
type
The node type
x
The x coordinate of the node
y
The y coordinate of the node

Attributes

NodeKind = {'ExtraLast': 16384, 'First': 16, 'G2': 4096, 'Hobby': 8192, 'HotSpot': 2048, 'InterpolatedX': 256, 'InterpolatedY': 512, 'KindMask': 65535, 'None': 0, 'Preview': 64, ...}
NodeType = {'AnyNodeMask': 7, 'Curve': 4, 'Off': 2, 'On': 1}
__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}

angle

fontlab.flAbstractVectorNode.angle
angle

angleTo

fontlab.flAbstractVectorNode.angleTo = angleTo(...)
double angleTo(QPointF p)

applyTransform

fontlab.flAbstractVectorNode.applyTransform = applyTransform(...)
applyTransform(QTransform)

canBeHobby

fontlab.flAbstractVectorNode.canBeHobby = canBeHobby(...)
bool canBeHobby()

canBeSmooth

fontlab.flAbstractVectorNode.canBeSmooth = canBeSmooth(...)
bool canBeSmooth()

canCollapse

fontlab.flAbstractVectorNode.canCollapse = canCollapse(...)
bool canCollapse()

canImprove

fontlab.flAbstractVectorNode.canImprove = canImprove(...)
bool canImprove()

changed

fontlab.flAbstractVectorNode.changed = changed(...)
changed()

checkInitHistoryState

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

checkVectors

fontlab.flAbstractVectorNode.checkVectors = checkVectors(...)
bool checkVectors()

clearAboveHistory

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

clearFlag

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

clearFlags

fontlab.flAbstractVectorNode.clearFlags = clearFlags(...)
clearFlags()

clearStored

fontlab.flAbstractVectorNode.clearStored = clearStored(...)
clearStored()

clone

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

cloneMapped

fontlab.flAbstractVectorNode.cloneMapped = cloneMapped(...)
flNode cloneMapped(QTransform)

cloneObject

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

collapseHandles

fontlab.flAbstractVectorNode.collapseHandles = collapseHandles(...)
bool collapseHandles()

contour

fontlab.flAbstractVectorNode.contour
The parent Contour or None if not present

convertToCurve

fontlab.flAbstractVectorNode.convertToCurve = convertToCurve(...)
bool convertToCurve([bool smooth = false])

convertToCurves

fontlab.flAbstractVectorNode.convertToCurves = convertToCurves(...)
bool convertToCurves()

convertToLine

fontlab.flAbstractVectorNode.convertToLine = convertToLine(...)
bool convertToLine()

copyFrom

fontlab.flAbstractVectorNode.copyFrom = copyFrom(...)
copyFrom(Node[, withSelected=False])

createHistoryState

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

createObject

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

currentHistoryState

fontlab.flAbstractVectorNode.currentHistoryState = currentHistoryState(...)
currentHistoryIx()

distanceTo

fontlab.flAbstractVectorNode.distanceTo = distanceTo(...)
double distanceTo(Node/QPointF)

flag

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

flObjectFlags

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

g2

fontlab.flAbstractVectorNode.g2
g2

getLines

fontlab.flAbstractVectorNode.getLines = getLines(...)
(QLineF, QLineF)/None getLines()

getOn

fontlab.flAbstractVectorNode.getOn = getOn(...)
Node/None getOn()

getProperties

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

getProperty

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

getPropertyFloat

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

getPropertyInt

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

hasChanges

fontlab.flAbstractVectorNode.hasChanges
bool

hasHistoryState

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

hasHistoryStates

fontlab.flAbstractVectorNode.hasHistoryStates
bool

haveObject

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

historyStates

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

hobby

fontlab.flAbstractVectorNode.hobby
hobby

id

fontlab.flAbstractVectorNode.id
object id

improve

fontlab.flAbstractVectorNode.improve = improve(...)
bool improve()

independedAll

fontlab.flAbstractVectorNode.independedAll = independedAll(...)
independedAll()

index

fontlab.flAbstractVectorNode.index
The index of the node in parent's contour (if present, otherwise -1)

initialHistoryState

fontlab.flAbstractVectorNode.initialHistoryState = initialHistoryState(...)
initialHistoryIx()

instanceType

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

interpolated

fontlab.flAbstractVectorNode.interpolated
interpolated

interpolatedX

fontlab.flAbstractVectorNode.interpolatedX
interpolatedX

interpolatedY

fontlab.flAbstractVectorNode.interpolatedY
interpolatedY

isChanged

fontlab.flAbstractVectorNode.isChanged
bool

isCorner

fontlab.flAbstractVectorNode.isCorner = isCorner(...)
bool isCorner([double a = 10.])

isCurve

fontlab.flAbstractVectorNode.isCurve = isCurve(...)
bool isCurve()

isEqual

fontlab.flAbstractVectorNode.isEqual = isEqual(...)
isEqual(flObject)

isEqualTo

fontlab.flAbstractVectorNode.isEqualTo = isEqualTo(...)
bool isEqualTo(Node[, tolerance=0.1[, offset=QPointF(0, 0)]])

isExtreme

fontlab.flAbstractVectorNode.isExtreme = isExtreme(...)
bool isExtreme(bool x[, bool open = true[, double limit = 0]])

isFirst

fontlab.flAbstractVectorNode.isFirst = isFirst(...)
bool isFirst()

isG2

fontlab.flAbstractVectorNode.isG2 = isG2(...)
bool isG2(double tolerance)

isInternal

fontlab.flAbstractVectorNode.isInternal = isInternal(...)
bool isInternal(bool clockwise)

isInterpolated

fontlab.flAbstractVectorNode.isInterpolated = isInterpolated(...)
bool isInterpolated(bool x)

isLast

fontlab.flAbstractVectorNode.isLast = isLast(...)
bool isLast()

isNull

fontlab.flAbstractVectorNode.isNull
bool

isOff

fontlab.flAbstractVectorNode.isOff = isOff(...)
bool isOff()

isOn

fontlab.flAbstractVectorNode.isOn = isOn(...)
bool isOn()

isPresent

fontlab.flAbstractVectorNode.isPresent
bool

isReleased

fontlab.flAbstractVectorNode.isReleased
bool

isSelectedAlone

fontlab.flAbstractVectorNode.isSelectedAlone
bool

isSmartAngle

fontlab.flAbstractVectorNode.isSmartAngle = isSmartAngle(...)
bool isSmartAngle()

isTerminal

fontlab.flAbstractVectorNode.isTerminal
bool

isValid

fontlab.flAbstractVectorNode.isValid
bool

makeStart

fontlab.flAbstractVectorNode.makeStart = makeStart(...)
bool makeStart()

moveBy

fontlab.flAbstractVectorNode.moveBy = moveBy(...)
moveBy(float dx, float dy[, bool round=false]

name

fontlab.flAbstractVectorNode.name
object name

nextNode

fontlab.flAbstractVectorNode.nextNode = nextNode(...)
Node/None nextNode([string nodeType= [, int searchDepth=1]])

NodeKind

fontlab.flAbstractVectorNode.NodeKind = {'ExtraLast': 16384, 'First': 16, 'G2': 4096, 'Hobby': 8192, 'HotSpot': 2048, 'InterpolatedX': 256, 'InterpolatedY': 512, 'KindMask': 65535, 'None': 0, 'Preview': 64, ...}

nodeState

fontlab.flAbstractVectorNode.nodeState
nodeState

NodeType

fontlab.flAbstractVectorNode.NodeType = {'AnyNodeMask': 7, 'Curve': 4, 'Off': 2, 'On': 1}

pointG2

fontlab.flAbstractVectorNode.pointG2 = pointG2(...)
QPointF/None pointG2()

position

fontlab.flAbstractVectorNode.position
Coordinates of the node as QPointF

preview

fontlab.flAbstractVectorNode.preview
preview

prevNode

fontlab.flAbstractVectorNode.prevNode = prevNode(...)
Node/None prevNode([string nodeType= [, int searchDepth=1]])

refCnt

fontlab.flAbstractVectorNode.refCnt
object references count

release

fontlab.flAbstractVectorNode.release = release(...)
release()

remove

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

removeChild

fontlab.flAbstractVectorNode.removeChild = removeChild(...)
removeChild(flObject)

removeProperty

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

restoreCoordinates

fontlab.flAbstractVectorNode.restoreCoordinates = restoreCoordinates(...)
restoreCoordinates()

restoreHistoryState

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

rotateBy

fontlab.flAbstractVectorNode.rotateBy = rotateBy(...)
rotateBy(valueDegree[, QPointF origin=(0, 0)])

round

fontlab.flAbstractVectorNode.round = round(...)
round() - Round the node's coordinate

scaleBy

fontlab.flAbstractVectorNode.scaleBy = scaleBy(...)
scaleBy(valueXY | (valueX, valueY)[, QPointF origin=(0, 0)])

scv

fontlab.flAbstractVectorNode.scv
scv

selected

fontlab.flAbstractVectorNode.selected
The selected flag

setExtraLast

fontlab.flAbstractVectorNode.setExtraLast = setExtraLast(...)
setExtraLast(bool)

setFlag

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

setNextSmooth

fontlab.flAbstractVectorNode.setNextSmooth = setNextSmooth(...)
setNextSmooth(QPointF base)

setPosition

fontlab.flAbstractVectorNode.setPosition = setPosition(...)
void setPosition(QPointF)

setPrevSmooth

fontlab.flAbstractVectorNode.setPrevSmooth = setPrevSmooth(...)
setPrevSmooth(QPointF base)

setProperty

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

setPropertyFloat

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

setPropertyInt

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

setSmartAngleEnbl

fontlab.flAbstractVectorNode.setSmartAngleEnbl = setSmartAngleEnbl(...)
bool setSmartAngleEnbl(bool)

setSmartSharp

fontlab.flAbstractVectorNode.setSmartSharp = setSmartSharp(...)
bool setSmartSharp([double tension = 0.6])

skewBy

fontlab.flAbstractVectorNode.skewBy = skewBy(...)
skewBy(valueDegreeX | (valueDegreX, valueDegreY)[, QPointF origin=(0, 0)])

smartAngleR

fontlab.flAbstractVectorNode.smartAngleR
smartAngleR

smartMove

fontlab.flAbstractVectorNode.smartMove = smartMove(...)
list(uint) smartMove(offset)

smartSetXY

fontlab.flAbstractVectorNode.smartSetXY = smartSetXY(...)
smartSetXY(QPointF)

smooth

fontlab.flAbstractVectorNode.smooth
The smooth flag

state

fontlab.flAbstractVectorNode.state
state

storeCoordinates

fontlab.flAbstractVectorNode.storeCoordinates = storeCoordinates(...)
storeCoordinates()

storeTestParameters

fontlab.flAbstractVectorNode.storeTestParameters = storeTestParameters(...)
storeTestParameters()

tag

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

transformBy

fontlab.flAbstractVectorNode.transformBy = transformBy(...)
transformBy(QTransform tx[, QPointF origin=(0, 0)])

type

fontlab.flAbstractVectorNode.type
The node type

update

fontlab.flAbstractVectorNode.update = update(...)
update()

updateG2

fontlab.flAbstractVectorNode.updateG2 = updateG2(...)
bool updateG2()

updateSmooth

fontlab.flAbstractVectorNode.updateSmooth = updateSmooth(...)
updateSmooth([bool extended_neibh=true])

x

fontlab.flAbstractVectorNode.x
The x coordinate of the node

y

fontlab.flAbstractVectorNode.y
The y coordinate of the node