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

Instance Method

setClose(_:)setClosePath:setClosePath_

Opens or closes the path and adjusts its endpoint nodes.

Declaration

func setClose(_ closed: Bool)

Declaration

- (void) setClosePath:(BOOL) closed;

Declaration

setClosePath_(closed: bool)

See Also

Closed/Open

  • isClosedclosedclosed

    Whether the final node connects to the first node.

  • setClose(_:fixStartNode:)setClosePath:fixStartNode:setClosePath_fixStartNode_

    Opens or closes the path and adjusts its endpoint nodes.