internal Rectangle getClient() { Insets insets = getInsets(); return(new Rectangle(insets.left, insets.top, width - insets.right - insets.left, height - insets.top - insets.bottom)); }
protected internal Dimension addInsets(Dimension size) { Insets insets = getInsets(); size.width += insets.left + insets.right; size.height += insets.top + insets.bottom; return(size); }
public override bool Equals(Object o) { if (o == this) { return(true); } if (o is Insets) { Insets i = (Insets)o; return((i.left == left) && (i.bottom == bottom) && (i.right == right) && (i.top == top)); } return(false); }