Point

external class Point : JsAny

Constructors

Link copied to clipboard
constructor()
constructor(x1: Double, y1: Double)

Properties

Link copied to clipboard
var x: Double
Link copied to clipboard
var y: Double

Functions

Link copied to clipboard
fun clone(): Point

Makes a copy of this point object.

Link copied to clipboard
Link copied to clipboard

Returns a string representing one of the shape types from "armyc2.c2sd.renderer.so.ShapeTypes"

Link copied to clipboard
fun getX(): Double
Link copied to clipboard
fun getY(): Double
Link copied to clipboard
fun setLocation(x1: Double, y1: Double)
Link copied to clipboard
Link copied to clipboard
fun shift(x: Double, y: Double)

move x & y by specified amounts.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard