Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTConstraints(AbstractMethods) Category Reference

CPTConstraints abstract methods—must be overridden by subclasses. More...

#import <CPTConstraints.h>

Public Instance Methods

(CGFloat- positionForLowerBound:upperBound: [implementation]
 Compute the position given a range of values. More...
 
Comparison
(BOOL- isEqualToConstraint:
 Determines whether a given constraint is equal to the receiver. More...
 
Position
(CGFloat- positionForLowerBound:upperBound:
 

Detailed Description

CPTConstraints abstract methods—must be overridden by subclasses.

Method Documentation

◆ isEqualToConstraint:

- (BOOL) isEqualToConstraint: (nullable CPTConstraints *)  otherConstraint

Determines whether a given constraint is equal to the receiver.

Parameters
otherConstraintThe constraint to check.
Returns
YES if the constraints are equal.

Extends class CPTConstraints.

◆ positionForLowerBound:upperBound: [1/2]

- (CGFloat) positionForLowerBound: (CGFloat __unused)  lowerBound
upperBound: (CGFloat __unused)  upperBound 
implementation

Compute the position given a range of values.

Parameters
lowerBoundThe lower bound; must be less than or equal to the upperBound.
upperBoundThe upper bound; must be greater than or equal to the lowerBound.
Returns
The calculated position.

Extends class CPTConstraints.

◆ positionForLowerBound:upperBound: [2/2]

- (CGFloat) positionForLowerBound: (CGFloat lowerBound
upperBound: (CGFloat upperBound 

Extends class CPTConstraints.


The documentation for this category was generated from the following files: