Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTAnnotationHostLayer.h
Go to the documentation of this file.
1 #import "CPTAnnotation.h"
2 #import "CPTLayer.h"
3 
5 
6 @property (nonatomic, readonly, nonnull) CPTAnnotationArray *annotations;
7 
10 -(void)addAnnotation:(nullable CPTAnnotation *)annotation;
11 -(void)removeAnnotation:(nullable CPTAnnotation *)annotation;
14 
15 @end
CPTAnnotation
An annotation positions a content layer relative to some anchor point.
Definition: CPTAnnotation.h:19
NSArray
CPTAnnotation.h
CPTAnnotationHostLayer
A container layer for annotations.
Definition: CPTAnnotationHostLayer.h:5
-[CPTAnnotationHostLayer removeAllAnnotations]
void removeAllAnnotations()
Removes all annotations from the receiver.
Definition: CPTAnnotationHostLayer.m:160
CPTLayer
Base class for all Core Animation layers in Core Plot.
Definition: CPTLayer.h:83
CPTAnnotationHostLayer::annotations
CPTAnnotationArray * annotations
An array of annotations attached to this layer.
Definition: CPTAnnotationHostLayer.h:6
CPTLayer.h