|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.extex.interpreter.primitives.register.transform.Transform
public class Transform
Transform (transformation with six values).
Constructor Summary | |
---|---|
Transform()
Creates a new object. |
|
Transform(Context context,
TokenSource source,
Typesetter typesetter)
Creates a new object. |
|
Transform(double v1,
double v2,
double v3,
double v4,
double v5,
double v6)
Creates a new object. |
|
Transform(Real v1,
Real v2,
Real v3,
Real v4,
Real v5,
Real v6)
Creates a new object. |
|
Transform(java.lang.String s)
Creates a new object. |
Method Summary | |
---|---|
Real |
get(int idx)
Return the idx-value for the transfomation |
void |
set(int idx,
Real value)
Setter for the value with index idx |
void |
set(Transform value)
Setter for the value. |
java.lang.String |
toString()
Return the value as String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Transform()
public Transform(Context context, TokenSource source, Typesetter typesetter) throws HelpingException, ConfigurationException, TypesetterException
TokenSource
for a
Transform
.
context
- the contextsource
- the token sourcetypesetter
- the typesetter
HelpingException
- in case of an error
ConfigurationException
- in case of an configuration error
TypesetterException
- in case of an error in the typsesetterpublic Transform(double v1, double v2, double v3, double v4, double v5, double v6)
v1
- the value 1v2
- the value 2v3
- the value 3v4
- the value 4v5
- the value 5v6
- the value 6public Transform(Real v1, Real v2, Real v3, Real v4, Real v5, Real v6)
v1
- the value 1v2
- the value 2v3
- the value 3v4
- the value 4v5
- the value 5v6
- the value 6public Transform(java.lang.String s) throws HelpingException
If the string equals null
or empty, the value is set to
zero
s
- the value as String
HelpingException
- if a NumberFormatException is thrownMethod Detail |
---|
public Real get(int idx)
idx
- the number of the value
public void set(int idx, Real value)
idx
- the indexvalue
- the value with indexpublic void set(Transform value)
value
- the new valuepublic java.lang.String toString()
String
toString
in class java.lang.Object
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |