# `class pdb.MyLine`

Available on all platforms

## Instance Fields

### `var gradient:Float`

### `var intercept:Float`

### `function new(gr:Float, ic:Float):Void`

### `function crossPoint(gr:Float, ic:Float):Dynamic`

### `function crossPointMyLine(l:MyLine):Dynamic`

### `function genLineFromPoint(px:Float, py:Float):MyLine`

### `function getValue(x:Float):Float`

### `function get_gradient():Float`

### `function get_intercept():Float`

### `function set_gradient(g:Float):Float`

### `function set_intercept(i:Float):Float`