Class: SvgPixelPosition

SvgPixelPosition

represents a position on the screen (in pixels)

Constructor

new SvgPixelPosition()

Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:

Methods

initialize(x, y) → {SvgPixelPosition}

creates a new instance
This:
Parameters:
Name Type Description
x number x co-ordinate.
y number y co-ordinate.
Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:
Returns:
the new instance.
Type
SvgPixelPosition

toString() → {string}

toString method so that you can get a nice printout of instances of this type
This:
Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:
Returns:
string representation of this object.
Type
string