Uses of Enum
com.pdftools.geometry.units.Length.Units
Packages that use Length.Units
-
Uses of Length.Units in com.pdftools.geometry.units
Methods in com.pdftools.geometry.units that return Length.UnitsModifier and TypeMethodDescriptionstatic Length.UnitsGet the unit enum value from its symbol, e.g.static Length.UnitsReturns the enum constant of this type with the specified name.static Length.Units[]Length.Units.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.pdftools.geometry.units with parameters of type Length.UnitsModifier and TypeMethodDescriptiondoubleLength.to(Length.Units unit) Get the numerical length value of the specified unit.Length.toString(Length.Units unit) Creates a string representation with the specified unit.Margin.toString(Length.Units unit) Creates a string representation as left-bottom-right-top-tuple with the specified unit.Point.toString(Length.Units unit) Creates a string representation as x-y-pair with the specified unit.Rectangle.toString(Length.Units unit) Creates a string representation as x-y-width-height-tuple with the specified unit.Size.toString(Length.Units unit) Creates a string representation as width-height-pair with the specified unit.Constructors in com.pdftools.geometry.units with parameters of type Length.UnitsModifierConstructorDescriptionLength(double value, Length.Units unit) Constructs a newly allocatedLengthobject using the specified value and unit.Margin(double left, double bottom, double right, double top, Length.Units unit) ConstructMarginobject from values and a common unit.Margin(double margin, Length.Units unit) Construct aMarginobject of equal marginsRectangle(double x, double y, double width, double height, Length.Units unit) ConstructRectangleobject from values and a common unit.Size(double width, double height, Length.Units unit) ConstructSizeobject from width, height and a common unit.