Uses of Enum Class
com.levigo.jadice.document.Unit
Packages that use Unit
-
Uses of Unit in com.levigo.jadice.document
Methods in com.levigo.jadice.document that return UnitModifier and TypeMethodDescriptionResolution.getUnit()
static Unit
Returns the enum constant of this class with the specified name.static Unit[]
Unit.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.levigo.jadice.document with parameters of type UnitModifier and TypeMethodDescriptiondouble
Unit.convertFrom
(Unit srcUnit, double value) Convert the given value in the given destination unit tothis
unit.float
Unit.convertFrom
(Unit srcUnit, float value) Convert the given value in the given destination unit tothis
unit.double
Convert the given value inthis
unit to the given destination unit.float
Convert the given value inthis
unit to the given destination unit.Resolution.createTransform
(Dimension2D size, Unit u) Create anAffineTransform
scaling the unit square with this resolution to the given size at the given resolution.Resolution.getSize
(Dimension2D size, Unit u) Return the physical size of a grid of the given size with this resolution.Constructors in com.levigo.jadice.document with parameters of type UnitModifierConstructorDescriptionResolution
(float w, float h, Unit u) Resolution
(Dimension2D d, Unit u)