iRex DR1000 Merger v0.3

it.andynaz.irex.dr1000.scribble
Class Stroke.Point

java.lang.Object
  extended by it.andynaz.irex.dr1000.scribble.Stroke.Point
Enclosing class:
Stroke

private class Stroke.Point
extends Object

A point. A point is made of two int coordinates, 'x' and 'y'.


Field Summary
(package private)  int x
           
(package private)  int y
           
 
Constructor Summary
Stroke.Point(int x, int y)
          Creates a new point.
 
Method Summary
(package private)  float getXScaledValue()
          Return the scaled value of the 'y' coordinate of this point.
(package private)  float getYScaledValue()
          Return the scaled value of the 'y' coordinate of this point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

int x

y

int y
Constructor Detail

Stroke.Point

Stroke.Point(int x,
             int y)
Creates a new point.

Parameters:
x - 'x' coordinate of the point
y - 'y' coordinate of the point
Method Detail

getXScaledValue

float getXScaledValue()
Return the scaled value of the 'y' coordinate of this point. The value is calculated considering the zoom level of the stroke.

Returns:
the scaled 'y' value of this point

getYScaledValue

float getYScaledValue()
Return the scaled value of the 'y' coordinate of this point. The value is calculated considering the zoom level of the stroke.

Returns:
the scaled 'y' value of this point

iRex DR1000 Merger v0.3

© 2013 andynaz - http://andynaz.altervista.org