
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIImageAnnotation
@interface SCIImageAnnotation : SCIAnnotationBase
Defines a image annotation, which may be placed on the chart at specific X1, Y1, X2, Y2
coordinates.
-
Defines the image to draw.
Declaration
Objective-C
@property (nonatomic, copy, nullable) UIImage *image;
Swift
@NSCopying var image: UIImage? { get set }
-
Determine how a view lays out its content when its bounds change.
Declaration
Objective-C
@property (nonatomic) SCIContentModeEnum contentMode;
Swift
var contentMode: SCIContentModeEnum { get set }
-
Determines how the annotation will be rendered on the chart.
Declaration
Objective-C
@property (nonatomic) SCIAnnotationTypeEnum annotationType;
Swift
var annotationType: SCIAnnotationTypeEnum { get set }
-
Defines the position of the current
SCIImageAnnotation
instance.Declaration
Objective-C
@property (nonatomic) SCIAlignment annotationPosition;
Swift
var annotationPosition: SCIAlignment { get set }
-
Determines the required size of the current
SCIImageAnnotation
instance.Declaration
Objective-C
@property (nonatomic) CGSize desiredSize;
Swift
var desiredSize: CGSize { get set }
-
Defines the alpha of the current
SCIImageAnnotation
instance.Declaration
Objective-C
@property (nonatomic) CGFloat alpha;
Swift
var alpha: CGFloat { get set }