AXBrailleMap
Category: Class
Platforms: iOS 15.2+, iPadOS 15.2+, Mac Catalyst 15.2+, macOS 12.1+, tvOS 15.2+, visionOS 1.0+, watchOS 8.2+
Overview
A representation of a two-dimensional braille display.
Declaration
class AXBrailleMap
Details
Topics
- Creating a braille map
- init?(coder: NSCoder)
- Getting display dimensions
- var dimensions: CGSize
- Accessing dots
- func setHeight(Float, at: CGPoint)
- func height(at: CGPoint) -> Float
- subscript(CGPoint) -> Float
- Displaying images
- func present(CGImage)
Relationships
- NSObject
- CVarArg
- CustomDebugStringConvertible
- CustomStringConvertible
- Equatable
- Hashable
- NSCoding
- NSCopying
- NSObjectProtocol
- NSSecureCoding
See Also
- Braille maps
- protocol AXBrailleMapRenderer
AXBraille Map
Overview
A braille map object represents a two-dimensional braille display that’s connected to the current Apple device. By specifying the dot patterns in the braille map, you can change the content the user experiences. To render the data from the braille map to the display, implement AXBrailleMapRenderer .
Topics (Grouped)
Creating a braille map
- initcoder:NSCoder) — ?(
Getting display dimensions
- dimensions:CGSize — var; The number of pins in each dimension of the braille display.
Accessing dots
- setHeight(Float,at:CGPoint) — func; Sets the height of an individual pin on the braille display.
- height(at:CGPoint) ->Float — func; Retrieves the height of an individual pin on the braille display.
- (CGPoint) ->Float — subscript; Accesses the height of an individual pin on the braille display.
Displaying images
- present(CGImage) — func; Converts the data from the image you specify into the braille map.
Inherits From
Conforms To
- CVarArg
- CustomDebugStringConvertible
- CustomStringConvertible
- Equatable
- Hashable
- NSCoding
- NSCopying
- NSObjectProtocol
- NSSecureCoding
Braille maps
- AXBrailleMapRenderer — protocol; The interface for providing data for a braille map.
Code Examples
class AXBrailleMap
Source: https://developer.apple.com/documentation/accessibility/axbraillemap