Skip to content
Glyphs
  • Python
  • Core:
  • Objective-C
  • Swift
  • Python
  • GlyphsCore
    • GSShape
      • GSPath
        • GSNode
          • index()
  1. GlyphsCore
  2. GSShape
  3. GSPath
  4. GSNode

Instance Method

index()

The index of the node in its path, or nil when the node is not in a path.

Not available in Objective-C.Not available in Python.

Declaration

func index() -> Int?

See Also

Path Navigation

  • nextOncurve()nextOncurveNodenextOncurveNode

    The next on-curve node in the path.

  • previousOncurve()previousOncurveNodepreviousOncurveNode

    The previous on-curve node in the path.