flVectorNode
fontlab.flVectorNode = class flVectorNode(object)
flVectorNode representation Constructors: flVectorNode(flObject) flVectorNode(flVectorNode) flVectorNode(flGuideLine, QPointF)
Methods
- __delattr__(...)
-
x.__delattr__('name') <==> del x.name
- __getattribute__(...)
-
x.__getattribute__('name') <==> x.name
- __setattr__(...)
-
x.__setattr__('name', value) <==> x.name = value
- applyTransform(...)
-
applyTransform(QTransform)
- canBeHobby(...)
-
bool canBeHobby()
- canBeSmooth(...)
-
bool canBeSmooth()
- canCollapse(...)
-
bool canCollapse()
- canImprove(...)
-
bool canImprove()
- checkInitHistoryState(...)
-
checkInitHistoryState(uint history_ix)
- checkVectors(...)
-
bool checkVectors()
- clearAboveHistory(...)
-
clearAboveHistory(uint history_ix)
- 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()
- createHistoryState(...)
-
createHistoryState(uint history_ix)
- currentHistoryState(...)
-
currentHistoryIx()
- distanceTo(...)
-
double distanceTo(Node/QPointF)
- 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()
- isInternal(...)
-
bool isInternal(bool clockwise)
- isInterpolated(...)
-
bool isInterpolated(bool x)
- isSmartAngle(...)
-
bool isSmartAngle()
- removeChild(...)
-
removeChild(flObject)
- removeProperty(...)
-
removeProperty('key')
- restoreHistoryState(...)
-
restoreHistoryState(uint history_ix)
- setExtraLast(...)
-
setExtraLast(bool)
- setNextSmooth(...)
-
setNextSmooth(QPointF base)
- setPosition(...)
-
void setPosition(QPointF)
- setPositionMode(...)
-
void setPositionMode(Mode m)
- 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])
- smartSetXY(...)
-
smartSetXY(QPointF)
- storeCoordinates(...)
-
storeCoordinates()
- transformBy(...)
-
transformBy(QTransform tx[, QPointF origin=(0, 0)])
- updateSmooth(...)
-
updateSmooth([bool extended_neibh=true])
Static methods
- cloneObject(...)
-
flObject cloneObject(const flObject&);
- createInstance(...)
-
flVectorNode createInstance()
- createObject(...)
-
flObject/Nothing createObject(int);
- haveObject(...)
-
bool haveObject(uint);
- instanceType(...)
-
int instanceType();
- isVectorNode(...)
-
bool isVectorNode(flObject)
Descriptors
- angle
-
angle
- contour
-
The parent Contour or None if not present
- g2
-
g2
- guideline
-
flGuideLine
- 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
- mode
-
uint
- 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
- Mode = {'PosAbsolute': 2, 'PosHorzDir': 4, 'PosMask': 15, 'PosParametric': 1, 'PosVertDir': 8}
- 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.flVectorNode.angle
-
angle
angleTo
- fontlab.flVectorNode.angleTo = angleTo(...)
-
double angleTo(QPointF p)
applyTransform
- fontlab.flVectorNode.applyTransform = applyTransform(...)
-
applyTransform(QTransform)
canBeHobby
- fontlab.flVectorNode.canBeHobby = canBeHobby(...)
-
bool canBeHobby()
canBeSmooth
- fontlab.flVectorNode.canBeSmooth = canBeSmooth(...)
-
bool canBeSmooth()
canCollapse
- fontlab.flVectorNode.canCollapse = canCollapse(...)
-
bool canCollapse()
canImprove
- fontlab.flVectorNode.canImprove = canImprove(...)
-
bool canImprove()
changed
- fontlab.flVectorNode.changed = changed(...)
-
changed()
checkInitHistoryState
- fontlab.flVectorNode.checkInitHistoryState = checkInitHistoryState(...)
-
checkInitHistoryState(uint history_ix)
checkVectors
- fontlab.flVectorNode.checkVectors = checkVectors(...)
-
bool checkVectors()
clearAboveHistory
- fontlab.flVectorNode.clearAboveHistory = clearAboveHistory(...)
-
clearAboveHistory(uint history_ix)
clearFlag
- fontlab.flVectorNode.clearFlag = clearFlag(...)
-
clearFlag(uint f)
clearFlags
- fontlab.flVectorNode.clearFlags = clearFlags(...)
-
clearFlags()
clearStored
- fontlab.flVectorNode.clearStored = clearStored(...)
-
clearStored()
clone
- fontlab.flVectorNode.clone = clone(...)
-
Clone the object
cloneMapped
- fontlab.flVectorNode.cloneMapped = cloneMapped(...)
-
flNode cloneMapped(QTransform)
cloneObject
- fontlab.flVectorNode.cloneObject = cloneObject(...)
-
flObject cloneObject(const flObject&);
collapseHandles
- fontlab.flVectorNode.collapseHandles = collapseHandles(...)
-
bool collapseHandles()
contour
- fontlab.flVectorNode.contour
-
The parent Contour or None if not present
convertToCurve
- fontlab.flVectorNode.convertToCurve = convertToCurve(...)
-
bool convertToCurve([bool smooth = false])
convertToCurves
- fontlab.flVectorNode.convertToCurves = convertToCurves(...)
-
bool convertToCurves()
convertToLine
- fontlab.flVectorNode.convertToLine = convertToLine(...)
-
bool convertToLine()
copyFrom
- fontlab.flVectorNode.copyFrom = copyFrom(...)
-
copyFrom(Node[, withSelected=False])
createHistoryState
- fontlab.flVectorNode.createHistoryState = createHistoryState(...)
-
createHistoryState(uint history_ix)
createInstance
- fontlab.flVectorNode.createInstance = createInstance(...)
-
flVectorNode createInstance()
createObject
- fontlab.flVectorNode.createObject = createObject(...)
-
flObject/Nothing createObject(int);
currentHistoryState
- fontlab.flVectorNode.currentHistoryState = currentHistoryState(...)
-
currentHistoryIx()
distanceTo
- fontlab.flVectorNode.distanceTo = distanceTo(...)
-
double distanceTo(Node/QPointF)
flag
- fontlab.flVectorNode.flag = flag(...)
-
flag(uint f)
flObjectFlags
fontlab.flVectorNode.flObjectFlags = {'ofAnchored': 64, 'ofChanged': 2, 'ofHistory': 128, 'ofIgnore': 8, 'ofIgnoreChanges': 4, 'ofPassive': 16, 'ofReleased': 1, 'ofSlowUpdate': 32}
g2
- fontlab.flVectorNode.g2
-
g2
getLines
- fontlab.flVectorNode.getLines = getLines(...)
-
(QLineF, QLineF)/None getLines()
getOn
- fontlab.flVectorNode.getOn = getOn(...)
-
Node/None getOn()
getProperties
- fontlab.flVectorNode.getProperties = getProperties(...)
-
Get object's properties list
getProperty
- fontlab.flVectorNode.getProperty = getProperty(...)
-
getProperty('key') - get object property by 'key' or number
getPropertyFloat
- fontlab.flVectorNode.getPropertyFloat = getPropertyFloat(...)
-
getPropertyFloat('key') - get float object property by 'key'
getPropertyInt
- fontlab.flVectorNode.getPropertyInt = getPropertyInt(...)
-
getPropertyInt('key') - get int object property by 'key'
guideline
- fontlab.flVectorNode.guideline
-
flGuideLine
hasChanges
- fontlab.flVectorNode.hasChanges
-
bool
hasHistoryState
- fontlab.flVectorNode.hasHistoryState = hasHistoryState(...)
-
hasHistoryState(uint history_ix)
hasHistoryStates
- fontlab.flVectorNode.hasHistoryStates
-
bool
haveObject
- fontlab.flVectorNode.haveObject = haveObject(...)
-
bool haveObject(uint);
historyStates
- fontlab.flVectorNode.historyStates = historyStates(...)
-
historyStates(bool accepted_state)
hobby
- fontlab.flVectorNode.hobby
-
hobby
id
- fontlab.flVectorNode.id
-
object id
improve
- fontlab.flVectorNode.improve = improve(...)
-
bool improve()
independedAll
- fontlab.flVectorNode.independedAll = independedAll(...)
-
independedAll()
index
- fontlab.flVectorNode.index
-
The index of the node in parent's contour (if present, otherwise -1)
initialHistoryState
- fontlab.flVectorNode.initialHistoryState = initialHistoryState(...)
-
initialHistoryIx()
instanceType
- fontlab.flVectorNode.instanceType = instanceType(...)
-
int instanceType();
interpolated
- fontlab.flVectorNode.interpolated
-
interpolated
interpolatedX
- fontlab.flVectorNode.interpolatedX
-
interpolatedX
interpolatedY
- fontlab.flVectorNode.interpolatedY
-
interpolatedY
isChanged
- fontlab.flVectorNode.isChanged
-
bool
isCorner
- fontlab.flVectorNode.isCorner = isCorner(...)
-
bool isCorner([double a = 10.])
isCurve
- fontlab.flVectorNode.isCurve = isCurve(...)
-
bool isCurve()
isEqual
- fontlab.flVectorNode.isEqual = isEqual(...)
-
isEqual(flObject)
isEqualTo
- fontlab.flVectorNode.isEqualTo = isEqualTo(...)
-
bool isEqualTo(Node[, tolerance=0.1[, offset=QPointF(0, 0)]])
isExtreme
- fontlab.flVectorNode.isExtreme = isExtreme(...)
-
bool isExtreme(bool x[, bool open = true[, double limit = 0]])
isFirst
- fontlab.flVectorNode.isFirst = isFirst(...)
-
bool isFirst()
isG2
- fontlab.flVectorNode.isG2 = isG2(...)
-
bool isG2(double tolerance)
isInternal
- fontlab.flVectorNode.isInternal = isInternal(...)
-
bool isInternal(bool clockwise)
isInterpolated
- fontlab.flVectorNode.isInterpolated = isInterpolated(...)
-
bool isInterpolated(bool x)
isLast
- fontlab.flVectorNode.isLast = isLast(...)
-
bool isLast()
isNull
- fontlab.flVectorNode.isNull
-
bool
isOff
- fontlab.flVectorNode.isOff = isOff(...)
-
bool isOff()
isOn
- fontlab.flVectorNode.isOn = isOn(...)
-
bool isOn()
isPresent
- fontlab.flVectorNode.isPresent
-
bool
isReleased
- fontlab.flVectorNode.isReleased
-
bool
isSelectedAlone
- fontlab.flVectorNode.isSelectedAlone
-
bool
isSmartAngle
- fontlab.flVectorNode.isSmartAngle = isSmartAngle(...)
-
bool isSmartAngle()
isTerminal
- fontlab.flVectorNode.isTerminal
-
bool
isValid
- fontlab.flVectorNode.isValid
-
bool
isVectorNode
- fontlab.flVectorNode.isVectorNode = isVectorNode(...)
-
bool isVectorNode(flObject)
makeStart
- fontlab.flVectorNode.makeStart = makeStart(...)
-
bool makeStart()
mode
- fontlab.flVectorNode.mode
-
uint
Mode
fontlab.flVectorNode.Mode = {'PosAbsolute': 2, 'PosHorzDir': 4, 'PosMask': 15, 'PosParametric': 1, 'PosVertDir': 8}
moveBy
- fontlab.flVectorNode.moveBy = moveBy(...)
-
moveBy(float dx, float dy[, bool round=false]
name
- fontlab.flVectorNode.name
-
object name
nextNode
- fontlab.flVectorNode.nextNode = nextNode(...)
-
Node/None nextNode([string nodeType= [, int searchDepth=1]])
NodeKind
fontlab.flVectorNode.NodeKind = {'ExtraLast': 16384, 'First': 16, 'G2': 4096, 'Hobby': 8192, 'HotSpot': 2048, 'InterpolatedX': 256, 'InterpolatedY': 512, 'KindMask': 65535, 'None': 0, 'Preview': 64, ...}
nodeState
- fontlab.flVectorNode.nodeState
-
nodeState
NodeType
fontlab.flVectorNode.NodeType = {'AnyNodeMask': 7, 'Curve': 4, 'Off': 2, 'On': 1}
pointG2
- fontlab.flVectorNode.pointG2 = pointG2(...)
-
QPointF/None pointG2()
position
- fontlab.flVectorNode.position
-
Coordinates of the node as QPointF
preview
- fontlab.flVectorNode.preview
-
preview
prevNode
- fontlab.flVectorNode.prevNode = prevNode(...)
-
Node/None prevNode([string nodeType= [, int searchDepth=1]])
refCnt
- fontlab.flVectorNode.refCnt
-
object references count
release
- fontlab.flVectorNode.release = release(...)
-
release()
remove
- fontlab.flVectorNode.remove = remove(...)
-
remove([flObject])
removeChild
- fontlab.flVectorNode.removeChild = removeChild(...)
-
removeChild(flObject)
removeProperty
- fontlab.flVectorNode.removeProperty = removeProperty(...)
-
removeProperty('key')
restoreCoordinates
- fontlab.flVectorNode.restoreCoordinates = restoreCoordinates(...)
-
restoreCoordinates()
restoreHistoryState
- fontlab.flVectorNode.restoreHistoryState = restoreHistoryState(...)
-
restoreHistoryState(uint history_ix)
rotateBy
- fontlab.flVectorNode.rotateBy = rotateBy(...)
-
rotateBy(valueDegree[, QPointF origin=(0, 0)])
round
- fontlab.flVectorNode.round = round(...)
-
round() - Round the node's coordinate
scaleBy
- fontlab.flVectorNode.scaleBy = scaleBy(...)
-
scaleBy(valueXY | (valueX, valueY)[, QPointF origin=(0, 0)])
scv
- fontlab.flVectorNode.scv
-
scv
selected
- fontlab.flVectorNode.selected
-
The selected flag
setExtraLast
- fontlab.flVectorNode.setExtraLast = setExtraLast(...)
-
setExtraLast(bool)
setFlag
- fontlab.flVectorNode.setFlag = setFlag(...)
-
setFlag(uint f [, bool value])
setNextSmooth
- fontlab.flVectorNode.setNextSmooth = setNextSmooth(...)
-
setNextSmooth(QPointF base)
setPosition
- fontlab.flVectorNode.setPosition = setPosition(...)
-
void setPosition(QPointF)
setPositionMode
- fontlab.flVectorNode.setPositionMode = setPositionMode(...)
-
void setPositionMode(Mode m)
setPrevSmooth
- fontlab.flVectorNode.setPrevSmooth = setPrevSmooth(...)
-
setPrevSmooth(QPointF base)
setProperty
- fontlab.flVectorNode.setProperty = setProperty(...)
-
setProperty('key', value) - set object property by 'key' or number
setPropertyFloat
- fontlab.flVectorNode.setPropertyFloat = setPropertyFloat(...)
-
setPropertyFloat('key', value) - set float object property by 'key'
setPropertyInt
- fontlab.flVectorNode.setPropertyInt = setPropertyInt(...)
-
setPropertyInt('key', value) - set int object property by 'key'
setSmartAngleEnbl
- fontlab.flVectorNode.setSmartAngleEnbl = setSmartAngleEnbl(...)
-
bool setSmartAngleEnbl(bool)
setSmartSharp
- fontlab.flVectorNode.setSmartSharp = setSmartSharp(...)
-
bool setSmartSharp([double tension = 0.6])
skewBy
- fontlab.flVectorNode.skewBy = skewBy(...)
-
skewBy(valueDegreeX | (valueDegreX, valueDegreY)[, QPointF origin=(0, 0)])
smartAngleR
- fontlab.flVectorNode.smartAngleR
-
smartAngleR
smartMove
- fontlab.flVectorNode.smartMove = smartMove(...)
-
list(uint) smartMove(offset)
smartSetXY
- fontlab.flVectorNode.smartSetXY = smartSetXY(...)
-
smartSetXY(QPointF)
smooth
- fontlab.flVectorNode.smooth
-
The smooth flag
state
- fontlab.flVectorNode.state
-
state
storeCoordinates
- fontlab.flVectorNode.storeCoordinates = storeCoordinates(...)
-
storeCoordinates()
storeTestParameters
- fontlab.flVectorNode.storeTestParameters = storeTestParameters(...)
-
storeTestParameters()
tag
- fontlab.flVectorNode.tag = tag(...)
-
tag([string])
transformBy
- fontlab.flVectorNode.transformBy = transformBy(...)
-
transformBy(QTransform tx[, QPointF origin=(0, 0)])
type
- fontlab.flVectorNode.type
-
The node type
update
- fontlab.flVectorNode.update = update(...)
-
update()
updateG2
- fontlab.flVectorNode.updateG2 = updateG2(...)
-
bool updateG2()
updateSmooth
- fontlab.flVectorNode.updateSmooth = updateSmooth(...)
-
updateSmooth([bool extended_neibh=true])
x
- fontlab.flVectorNode.x
-
The x coordinate of the node
y
- fontlab.flVectorNode.y
-
The y coordinate of the node