Contents

setHeight(_:at:)

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

Declaration

func setHeight(_ status: Float, at point: CGPoint)

Parameters

  • status:

    A floating-point number between 0.0 and 1.0 that specifies the height of the pin. A value of 0.0 lowers the pin completely, and a value of 1.0 raises the pin completely.

  • point:

    The location of the pin to adjust 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}.

See Also

Accessing dots