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.0and1.0that specifies the height of the pin. A value of0.0lowers the pin completely, and a value of1.0raises 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}.