Skip to content

# `flGuideLine`

## fontlab.flGuideLine = class flGuideLine(object)

      flGuideLine representation

      Constructors:
        flGuideLine()
        flGuideLine(flObject)
        flGuideLine(flGuideLine)
        flGuideLine(double angle, QPointF canvas_point, uint=flSnaps::Vector, SnapObjectsStyle=gsPageGuideline)
        flGuideLine(QLineF line, uint=flSnaps::Vector, SnapObjectsStyle=gsPageGuideline)
        flGuideLine(QPointF center, QPointF vector_point, uint =flSnaps::Vector, SnapObjectsStyle=gsPageGuideline)

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

applyTransform(...)

      void applyTransform(QTransform)

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

disconnectFromContour(...)

      disconnectFromContour()

distanceTo(...)

      double distanceTo(QPointF, uint mode)

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)

historyStates(...)

      historyStates(bool accepted_state)

independedAll(...)

      independedAll()

initialHistoryState(...)

      initialHistoryIx()

isEqual(...)

      isEqual(flObject)

isHorizontal(...)

      bool isHorizontal([double a=1])

isVertical(...)

      bool isVertical([double a=1])

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&);

counterPaper(...)

      int counterPaper()

createInstance(...)

      flGuideLine createInstance()

createObject(...)

      flObject/Nothing createObject(int);

createPowerGuides(...)

      bool createPowerGuides(fgFont, flLayer, bool horizontal, bool vertical, bool diagonal[, bool use_glyph_guides=true[, bool use_font_guides = true]])

getHashCode(...)

      long getHashCode(QPointF, double angle)

haveObject(...)

      bool haveObject(uint);

instanceType(...)

      int instanceType();

isGuideLine(...)

      bool isGuideLine(flObject)

isSnapLine(...)

      bool isSnapLine(flObject)

sortGuideLines(...)

      list(flGuideLine) sortGuideLines(list(flGuideLine)[, bool ascending = true])

#### Descriptors

angle

      double

angleMode

      SnapAngleMode

center

      flNode

centerPoint

      QPointF

color

      QColor

constraints

      QRectF

expression

      QString

extLinef

      QLineF

extPosition

      double

hasChanges

      bool

hasColor

      bool

hasExpression

      bool

hasHistoryStates

      bool

hasTags

      bool

haveExtLine

      bool

id

      object id

isAbsoluteMarkerPos

      bool

isChanged

      bool

isExluded

      bool

isHint

      bool

isInUse

      bool

isMeasurementLine

      bool

isNull

      bool

isPassive

      bool

isPresent

      bool

isReleased

      bool

isShortGuideline

      bool

isValid

      bool

isVerticalQuarter

      bool

isZone

      bool

length

      double

linef

      QLineF

markers

      list(flMarkerPoint)

markersStructVersion

      int

name

      object name

refCnt

      object references count

snapFlags

      uint

style

      SnapObjectsStyle

tags

      QSet

type

      object type

vector

      flNode

vectorPoint

      QPointF

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

## `angle`

fontlab.flGuideLine.angle

      double

## `angleMode`

fontlab.flGuideLine.angleMode

      SnapAngleMode

## `applyTransform`

fontlab.flGuideLine.applyTransform = applyTransform(...)

      void applyTransform(QTransform)

## `center`

fontlab.flGuideLine.center

      flNode

## `centerPoint`

fontlab.flGuideLine.centerPoint

      QPointF

## `changed`

fontlab.flGuideLine.changed = changed(...)

      changed()

## `checkInitHistoryState`

fontlab.flGuideLine.checkInitHistoryState = checkInitHistoryState(...)

      checkInitHistoryState(uint history_ix)

## `clearAboveHistory`

fontlab.flGuideLine.clearAboveHistory = clearAboveHistory(...)

      clearAboveHistory(uint history_ix)

## `clearFlag`

fontlab.flGuideLine.clearFlag = clearFlag(...)

      clearFlag(uint f)

## `clearFlags`

fontlab.flGuideLine.clearFlags = clearFlags(...)

      clearFlags()

## `clone`

fontlab.flGuideLine.clone = clone(...)

      Clone the object

## `cloneObject`

fontlab.flGuideLine.cloneObject = cloneObject(...)

      flObject cloneObject(const flObject&);

## `color`

fontlab.flGuideLine.color

      QColor

## `constraints`

fontlab.flGuideLine.constraints

      QRectF

## `counterPaper`

fontlab.flGuideLine.counterPaper = counterPaper(...)

      int counterPaper()

## `createHistoryState`

fontlab.flGuideLine.createHistoryState = createHistoryState(...)

      createHistoryState(uint history_ix)

## `createInstance`

fontlab.flGuideLine.createInstance = createInstance(...)

      flGuideLine createInstance()

## `createObject`

fontlab.flGuideLine.createObject = createObject(...)

      flObject/Nothing createObject(int);

## `createPowerGuides`

fontlab.flGuideLine.createPowerGuides = createPowerGuides(...)

      bool createPowerGuides(fgFont, flLayer, bool horizontal, bool vertical, bool diagonal[, bool use_glyph_guides=true[, bool use_font_guides = true]])

## `currentHistoryState`

fontlab.flGuideLine.currentHistoryState = currentHistoryState(...)

      currentHistoryIx()

## `disconnectFromContour`

fontlab.flGuideLine.disconnectFromContour = disconnectFromContour(...)

      disconnectFromContour()

## `distanceTo`

fontlab.flGuideLine.distanceTo = distanceTo(...)

      double distanceTo(QPointF, uint mode)

## `expression`

fontlab.flGuideLine.expression

      QString

## `extLinef`

fontlab.flGuideLine.extLinef

      QLineF

## `extPosition`

fontlab.flGuideLine.extPosition

      double

## `flag`

fontlab.flGuideLine.flag = flag(...)

      flag(uint f)

## `flObjectFlags`

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

## `getHashCode`

fontlab.flGuideLine.getHashCode = getHashCode(...)

      long getHashCode(QPointF, double angle)

## `getProperties`

fontlab.flGuideLine.getProperties = getProperties(...)

      Get object's properties list

## `getProperty`

fontlab.flGuideLine.getProperty = getProperty(...)

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

## `getPropertyFloat`

fontlab.flGuideLine.getPropertyFloat = getPropertyFloat(...)

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

## `getPropertyInt`

fontlab.flGuideLine.getPropertyInt = getPropertyInt(...)

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

## `hasChanges`

fontlab.flGuideLine.hasChanges

      bool

## `hasColor`

fontlab.flGuideLine.hasColor

      bool

## `hasExpression`

fontlab.flGuideLine.hasExpression

      bool

## `hasHistoryState`

fontlab.flGuideLine.hasHistoryState = hasHistoryState(...)

      hasHistoryState(uint history_ix)

## `hasHistoryStates`

fontlab.flGuideLine.hasHistoryStates

      bool

## `hasTags`

fontlab.flGuideLine.hasTags

      bool

## `haveExtLine`

fontlab.flGuideLine.haveExtLine

      bool

## `haveObject`

fontlab.flGuideLine.haveObject = haveObject(...)

      bool haveObject(uint);

## `historyStates`

fontlab.flGuideLine.historyStates = historyStates(...)

      historyStates(bool accepted_state)

## `id`

fontlab.flGuideLine.id

      object id

## `independedAll`

fontlab.flGuideLine.independedAll = independedAll(...)

      independedAll()

## `initialHistoryState`

fontlab.flGuideLine.initialHistoryState = initialHistoryState(...)

      initialHistoryIx()

## `instanceType`

fontlab.flGuideLine.instanceType = instanceType(...)

      int instanceType();

## `isAbsoluteMarkerPos`

fontlab.flGuideLine.isAbsoluteMarkerPos

      bool

## `isChanged`

fontlab.flGuideLine.isChanged

      bool

## `isEqual`

fontlab.flGuideLine.isEqual = isEqual(...)

      isEqual(flObject)

## `isExluded`

fontlab.flGuideLine.isExluded

      bool

## `isGuideLine`

fontlab.flGuideLine.isGuideLine = isGuideLine(...)

      bool isGuideLine(flObject)

## `isHint`

fontlab.flGuideLine.isHint

      bool

## `isHorizontal`

fontlab.flGuideLine.isHorizontal = isHorizontal(...)

      bool isHorizontal([double a=1])

## `isInUse`

fontlab.flGuideLine.isInUse

      bool

## `isMeasurementLine`

fontlab.flGuideLine.isMeasurementLine

      bool

## `isNull`

fontlab.flGuideLine.isNull

      bool

## `isPassive`

fontlab.flGuideLine.isPassive

      bool

## `isPresent`

fontlab.flGuideLine.isPresent

      bool

## `isReleased`

fontlab.flGuideLine.isReleased

      bool

## `isShortGuideline`

fontlab.flGuideLine.isShortGuideline

      bool

## `isSnapLine`

fontlab.flGuideLine.isSnapLine = isSnapLine(...)

      bool isSnapLine(flObject)

## `isValid`

fontlab.flGuideLine.isValid

      bool

## `isVertical`

fontlab.flGuideLine.isVertical = isVertical(...)

      bool isVertical([double a=1])

## `isVerticalQuarter`

fontlab.flGuideLine.isVerticalQuarter

      bool

## `isZone`

fontlab.flGuideLine.isZone

      bool

## `length`

fontlab.flGuideLine.length

      double

## `linef`

fontlab.flGuideLine.linef

      QLineF

## `markers`

fontlab.flGuideLine.markers

      list(flMarkerPoint)

## `markersStructVersion`

fontlab.flGuideLine.markersStructVersion

      int

## `name`

fontlab.flGuideLine.name

      object name

## `offsetTo`

fontlab.flGuideLine.offsetTo = offsetTo(...)

      QPointF offsetTo(QPointF, uint mode)

## `refCnt`

fontlab.flGuideLine.refCnt

      object references count

## `release`

fontlab.flGuideLine.release = release(...)

      release()

## `remove`

fontlab.flGuideLine.remove = remove(...)

      remove([flObject])

## `removeChild`

fontlab.flGuideLine.removeChild = removeChild(...)

      removeChild(flObject)

## `removeProperty`

fontlab.flGuideLine.removeProperty = removeProperty(...)

      removeProperty('key')

## `reset`

fontlab.flGuideLine.reset = reset(...)

      reset()

## `restoreHistoryState`

fontlab.flGuideLine.restoreHistoryState = restoreHistoryState(...)

      restoreHistoryState(uint history_ix)

## `setFlag`

fontlab.flGuideLine.setFlag = setFlag(...)

      setFlag(uint f [, bool value])

## `setProperty`

fontlab.flGuideLine.setProperty = setProperty(...)

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

## `setPropertyFloat`

fontlab.flGuideLine.setPropertyFloat = setPropertyFloat(...)

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

## `setPropertyInt`

fontlab.flGuideLine.setPropertyInt = setPropertyInt(...)

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

## `setSnapFlag`

fontlab.flGuideLine.setSnapFlag = setSnapFlag(...)

      setSnapFlag(uint role, uint snapFlags)

## `setSnapFlagValue`

fontlab.flGuideLine.setSnapFlagValue = setSnapFlagValue(...)

      setSnapFlagValue(uint role, bool)

## `snapFlag`

fontlab.flGuideLine.snapFlag = snapFlag(...)

      uint snapFlag(uint role)

## `snapFlags`

fontlab.flGuideLine.snapFlags

      uint

## `sortGuideLines`

fontlab.flGuideLine.sortGuideLines = sortGuideLines(...)

      list(flGuideLine) sortGuideLines(list(flGuideLine)[, bool ascending = true])

## `style`

fontlab.flGuideLine.style

      SnapObjectsStyle

## `tag`

fontlab.flGuideLine.tag = tag(...)

      tag([string])

## `tags`

fontlab.flGuideLine.tags

      QSet

## `type`

fontlab.flGuideLine.type

      object type

## `update`

fontlab.flGuideLine.update = update(...)

      update()

## `vector`

fontlab.flGuideLine.vector

      flNode

## `vectorPoint`

fontlab.flGuideLine.vectorPoint

      QPointF