Skip to content

subscript(_:)

Category: Instance Subscript

Platforms: iOS 15.2+, iPadOS 15.2+, Mac Catalyst 15.2+, macOS 12.2+, tvOS 15.2+, visionOS 1.0+, watchOS 8.2+

Overview

Accesses the height of an individual pin on the braille display.

Declaration

subscript(point: CGPoint) -> Float { get set }

Details

See Also

  • Accessing dots
  • func setHeight(Float, at: CGPoint)
  • func height(at: CGPoint) -> Float

Overview

Use this subscript to set or get the height of an individual pin. This subscript provides the same capabilities as using setHeight(_:at:) and height(at:) .

Topics (Grouped)

Accessing dots

Code Examples

subscript(point: CGPoint) -> Float { get set }

Source: https://developer.apple.com/documentation/accessibility/axbraillemap/subscript(_:)