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 UnitReturns 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 TypeMethodDescriptiondoubleUnit.convertFrom(Unit srcUnit, double value) Convert the given value in the given destination unit tothisunit.floatUnit.convertFrom(Unit srcUnit, float value) Convert the given value in the given destination unit tothisunit.doubleConvert the given value inthisunit to the given destination unit.floatConvert the given value inthisunit to the given destination unit.Resolution.createTransform(Dimension2D size, Unit u) Create anAffineTransformscaling 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)