org.apache.fop.datatypes
Class FixedLength
java.lang.Object
|
+--org.apache.fop.datatypes.Length
|
+--org.apache.fop.datatypes.FixedLength
- public class FixedLength
- extends Length
a length quantity in XSL
Constructor Summary |
FixedLength(double numRelUnits,
int iCurFontSize)
Set the length given a number of relative units and the current
font size in base units. |
FixedLength(double numUnits,
java.lang.String units)
Set the length given a number of units and a unit name. |
FixedLength(int baseUnits)
set the length as a number of base units |
Method Summary |
Numeric |
asNumeric()
|
protected void |
convert(double dvalue,
java.lang.String unit)
Convert the given length to a dimensionless integer representing
a whole number of base units (milli-points). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FixedLength
public FixedLength(double numRelUnits,
int iCurFontSize)
- Set the length given a number of relative units and the current
font size in base units.
FixedLength
public FixedLength(double numUnits,
java.lang.String units)
- Set the length given a number of units and a unit name.
FixedLength
public FixedLength(int baseUnits)
- set the length as a number of base units
convert
protected void convert(double dvalue,
java.lang.String unit)
- Convert the given length to a dimensionless integer representing
a whole number of base units (milli-points).
asNumeric
public Numeric asNumeric()
- Overrides:
asNumeric
in class Length
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.