RelationPosition

data class RelationPosition(val fromX: Int, val fromY: Int, val fromDir: Int, val toX: Int, val toY: Int, val toDir: Int, val name: String?)

Constructors

Link copied to clipboard
constructor(fromX: Int, fromY: Int, fromDir: Int, toX: Int, toY: Int, toDir: Int, name: String?)

Properties

Link copied to clipboard
val fromDir: Int
Link copied to clipboard
val fromX: Int
Link copied to clipboard
val fromY: Int
Link copied to clipboard
val name: String?
Link copied to clipboard
Link copied to clipboard
val toDir: Int
Link copied to clipboard
val toX: Int
Link copied to clipboard
val toY: Int

Functions

Link copied to clipboard
fun getNameHeight(): Double
Link copied to clipboard
fun getNameWidth(): Double
Link copied to clipboard
fun getNameX(): Double
Link copied to clipboard
fun getNameY(): Double
Link copied to clipboard
fun touchedBy(xx: Int, yy: Int): Boolean

Allow this method to use negative width and height