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

Instance Method

nodeIndex

The index of the node in its path.

Not available in Swift.

Declaration

- (NSUInteger) nodeIndex;

Declaration

nodeIndex() -> int

Discussion

Returns 0 if the node has no parent path.

See Also

Path Navigation

  • nextOncurve()nextOncurveNodenextOncurveNode

    The next on-curve node in the path.

  • previousOncurve()previousOncurveNodepreviousOncurveNode

    The previous on-curve node in the path.