PointInterface

Kind of class:interface
Inherits from:CoreInterface
Implemented by:
Known subinterfaces:
Version:09/29/06
Author:Aaron Clinger
Classpath:org.casalib.math.geom.PointInterface
File last modified:Monday, 01 December 2008, 13:34:40

Summary


Instance methods
  • getX : Number
  • setX (x:Number) : Void
    • Sets the X coordinate.
  • getY : Number
  • setY (y:Number) : Void
    • Sets the Y coordinate.
Instance methods inherited from CoreInterface

Instance methods

getX

function getX (
) : Number

Returns:
  • The left X position.

getY

function getY (
) : Number

Returns:
  • The top Y position.

setX

function setX (
x:Number) : Void

Sets the X coordinate.
Parameters:
x:
The horizontal coordinate of the point.

setY

function setY (
y:Number) : Void

Sets the Y coordinate.
Parameters:
y:
The vertical coordinate of the point.