|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.swfm.mica.core.MiScale
| Field Summary | |
static MiScale |
identity
|
double |
x
|
double |
y
|
| Constructor Summary | |
MiScale()
Constructs a new MiScale. |
|
MiScale(double x,
double y)
Constructs a new MiScale. |
|
MiScale(MiScale other)
Constructs a new MiScale that is a copy of the given scale. |
|
| Method Summary | |
void |
combine(MiScale other)
Combines (multiplies) the components of the given scale with this. |
void |
copy(MiScale other)
Copies the components of the given scale. |
boolean |
equals(MiScale other)
Returns whether this equals the given scale. |
MiScale |
inverseOf()
Returns a copy of this scale that is the inverse of this one. |
boolean |
isIdentity()
Return whether the components of this scale are equal to one. |
void |
set(double sx,
double sy)
Set the components of this scale to the given values. |
void |
setIsIdentity()
Set the components of this scale to one. |
java.lang.String |
toString()
Return text that describes this vector. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final MiScale identity
public double x
public double y
| Constructor Detail |
public MiScale()
public MiScale(MiScale other)
other - the scale to copy
public MiScale(double x,
double y)
x - the x componenty - the y component| Method Detail |
public void set(double sx,
double sy)
sx - the x componentsy - the y componentpublic void copy(MiScale other)
other - the scale to copypublic void combine(MiScale other)
other - the scale to combine with this onepublic boolean equals(MiScale other)
other - the scale to compare this with
public void setIsIdentity()
public boolean isIdentity()
public MiScale inverseOf()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||