@Test public void inchesToPoints() { assertEquals(0, Margins.inchesToPoints(0), 0); assertEquals(144, Margins.inchesToPoints(2), 0); assertEquals(100.8, Margins.inchesToPoints(1.4), 0); }
public static double inchesToPoints(double inches) { return 72 * inches; }
Margins { public static double inchesToPoints(double inches) { return 72 * inches; } }
Margins { public static double inchesToPoints(double inches) { return 72 * inches; } Margins(double top, double right, double bottom, double left); }
Margins { public static double inchesToPoints(double inches) { return 72 * inches; } Margins(double top, double right, double bottom, double left); static double inchesToPoints(double inches); static double pointsToInches(double points); Margins rotate(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object other); }
Margins { public static double inchesToPoints(double inches) { return 72 * inches; } Margins(double top, double right, double bottom, double left); static double inchesToPoints(double inches); static double pointsToInches(double points); Margins rotate(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object other); @NotNegative
    final double top; @NotNegative
    final double right; @NotNegative
    final double bottom; @NotNegative
    final double left; }