Point

data class Point(val x: Float, val y: Float, val description: String = "Value of point is ")

Point data class is used for holding the point on the graph.

Parameters

x

: x co-ordinate value in the graph

y

: y co-ordinate value in the graph

description

: Description given to describe the value of the point for accessibility service Used this class over PointF as its a java class and unable to mock the same

Constructors

Link copied to clipboard
constructor(x: Float, y: Float, description: String = "Value of point is ")

Properties

Link copied to clipboard
Link copied to clipboard
val x: Float
Link copied to clipboard
val y: Float