height(at:)
Category: Instance Method
Platforms: iOS 15.2+, iPadOS 15.2+, Mac Catalyst 15.2+, macOS 12.1+, tvOS 15.2+, visionOS 1.0+, watchOS 8.2+
Overview
Retrieves the height of an individual pin on the braille display.
Declaration
func height(at point: CGPoint) -> Float
Details
Parameters
- Parameters
See Also
- Accessing dots
- func setHeight(Float, at: CGPoint)
- subscript(CGPoint) -> Float
Return Value
A floating-point number between 0.0 and 1.0 that specifies the height of the pin. A value of 0.0 indicates that the pin is completely lowered, and a value of 1.0 indicates that the pin is completely raised.
Topics (Grouped)
Accessing dots
- setHeight(Float,at:CGPoint) — func; Sets the height of an individual pin on the braille display.
- (CGPoint) ->Float — subscript; Accesses the height of an individual pin on the braille display.
Code Examples
func height(at point: CGPoint) -> Float
Source: https://developer.apple.com/documentation/accessibility/axbraillemap/height(at:)