toCoord

fun toCoord(lengthX: Float, lengthY: Float): Line

Define the line other coordinates

This functions modifies also the line width and height

Return

this

Parameters

lengthX

the x length from getX in pixels

lengthY

the x length from getY in pixels