Skip to content
Glyphs
  • Python
  • Core:
  • Objective-C
  • Swift
  • Python
  • GlyphsCore
    • GSLayer
      • GSLayer Annotations
        • addAnnotation:
  1. GlyphsCore
  2. GSLayer
  3. GSLayer Annotations

Instance Method

addAnnotation(_:)addAnnotation:addAnnotation_

Adds an annotation.

Declaration

func addAnnotation(_ anAnnotation: GSAnnotation)

Declaration

- (void) addAnnotation:(GSAnnotation *) anAnnotation;

Declaration

addAnnotation_(anAnnotation: GSAnnotation)

See Also

Adding and Removing Annotations

  • removeAnnotation(_:)removeAnnotation:removeAnnotation_

    Removes an annotation.

  • removeAnnotation(at:)removeObjectFromAnnotationsAtIndex:removeObjectFromAnnotationsAtIndex_

    Removes the annotation at an index.