init(verticalAmount:verticalBase:horizontalAmount:horizontalBase:eye:)
Creates a new vision prism object that separates the correction strength into horizontal and vertical components.
Declaration
init(verticalAmount: HKQuantity, verticalBase: HKPrismBase, horizontalAmount: HKQuantity, horizontalBase: HKPrismBase, eye: HKVisionEye)Parameters
- verticalAmount:
The vertical strength of the correction, measured in Prismdiopter() units.
- verticalBase:
The orientation of the vertical correction. This value can be either Up or Down.
- horizontalAmount:
The horizontal strength of the correction, measured in Prismdiopter() units.
- horizontalBase:
The orientation of the horizontal correction. This value can be either In or Out.
- eye:
A value indicating which eye the correction applies to: Left or Right.