|
Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
Go to the documentation of this file.
25 @property (nonatomic, readwrite, assign) CGFloat
rotation;
29 -(nonnull instancetype)
init NS_DESIGNATED_INITIALIZER;
30 -(nullable instancetype)initWithCoder:(nonnull
NSCoder *)coder NS_DESIGNATED_INITIALIZER;
NSArray< __kindof CPTAnnotation * > CPTAnnotationArray
An array of annotations.
Definition: CPTAnnotation.h:7
CPTLayer * contentLayer
The annotation content.
Definition: CPTAnnotation.h:21
CGPoint contentAnchorPoint
The anchor point for the content layer.
Definition: CPTAnnotation.h:23
An annotation positions a content layer relative to some anchor point.
Definition: CPTAnnotation.h:19
NSMutableArray< __kindof CPTAnnotation * > CPTMutableAnnotationArray
A mutable array of annotations.
Definition: CPTAnnotation.h:17
CPTAnnotationHostLayer * annotationHostLayer
The host layer for the annotation content.
Definition: CPTAnnotation.h:22
CPTAnnotation abstract methods—must be overridden by subclasses.
Definition: CPTAnnotation.h:40
nonnull instancetype init()
Initializes a newly allocated CPTAnnotation object.
Definition: CPTAnnotation.m:56
A container layer for annotations.
Definition: CPTAnnotationHostLayer.h:5
CGFloat rotation
The rotation of the label in radians.
Definition: CPTAnnotation.h:25
Base class for all Core Animation layers in Core Plot.
Definition: CPTLayer.h:83
CGPoint displacement
The displacement from the layer anchor point.
Definition: CPTAnnotation.h:24
#define cpt_weak_property
A custom definition for automatic reference counting (ARC) weak properties that falls back to assign ...
Definition: CPTDefinitions.h:32
void positionContentLayer()
Positions the content layer relative to its reference anchor.
Definition: CPTAnnotation.m:194