Constructor
inlinenew(x:Int = 0, y:Int = 0)
Create a new integer Point instance.
Parameters:
x | Horizontal position of the point. |
---|---|
y | Vertical position of the point. |
Variables
Methods
inlinescale(v:Int):Void
Multiplies the position of this IPoint by a given scalar v
. Modifies this instance.
inlinescaled(v:Int):IPoint
Returns a new IPoint with the position of this IPoint multiplied by a given scalar v
.