Contents

height(at:)

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

Declaration

func height(at point: CGPoint) -> Float

Parameters

  • point:

    The location of the pin to retrieve the height for. The bottom-left of the display is at { 0,0 }, and the top-right of the display is at { dimensions.width - 1, dimensions.height - 1}.

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.

See Also

Accessing dots