iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIAnnotationCoordinates
@interface SCIAnnotationCoordinates : NSObject <ISCICleanable>
Used internally by the Annotation API. Class to hold transformed coordinates for placement of an annotation on the chart.
-
Defines the coordinates for
X1, Y1values.Declaration
Objective-C
@property (nonatomic) CGPoint pt1;Swift
var pt1: CGPoint { get set } -
Defines the coordinates for
X2, Y2values.Declaration
Objective-C
@property (nonatomic) CGPoint pt2;Swift
var pt2: CGPoint { get set } -
Offsets provided by
ISCICoordinateCalculatorfor X-Axis and Y-Axis.Declaration
Objective-C
@property (nonatomic) CGPoint offset;Swift
var offset: CGPoint { get set } -
Rect with bounds for parent
annotation surface.Declaration
Objective-C
@property (nonatomic) CGRect annotationsSurfaceBounds;Swift
var annotationsSurfaceBounds: CGRect { get set } -
Checks if the point is within the bound of the current
SCIAnnotationCoordinatesDeclaration
Objective-C
- (BOOL)containsPoint:(CGPoint)point;Swift
func contains(_ point: CGPoint) -> BoolParameters
pointThe point to test.
Return Value
YES - if the point is within bounds.
View on GitHub