Home | History | Annotate | Download | only in graphics

Lines Matching refs: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;
88 if (bottom != insets.bottom) return false;
89 if (left != insets.left) return false;
90 if (right != insets.right) return false;
91 if (top != insets.top) return false;
107 return "Insets{" +