Instance Property
annotations
The annotations stored on the layer.
Declaration
var annotations: [GSAnnotation] { get set }Declaration
@property (nonatomic, strong) NSArray<GSAnnotation *> * annotations;Declaration
pyobjc_instanceMethods.annotations() -> list[GSAnnotation]
pyobjc_instanceMethods.setAnnotations_(annotations: list[GSAnnotation])Discussion
Use the annotation mutation methods to preserve ownership, undo, layer change notifications, and selection state.
See Also
Annotations
The number of annotations.
The annotation at an index.