Lines Matching defs:Insets
20 * An Insets instance holds four integer offsets which describe changes to the four
24 * Insets are immutable so may be treated as values.
28 public class Insets {
29 public static final Insets NONE = new Insets(0, 0, 0, 0);
36 private Insets(int left, int top, int right, int bottom) {
46 * Return an Insets instance with the appropriate values.
53 * @return Insets instance with the appropriate values
55 public static Insets of(int left, int top, int right, int bottom) {
59 return new Insets(left, top, right, bottom);
63 * Return an Insets instance with the appropriate values.
67 * @return an Insets instance with the appropriate values
69 public static Insets of(Rect r) {
74 * Two Insets instances are equal iff they belong to the same class and their fields are
86 Insets insets = (Insets) o;
107 return "Insets{" +