/// static FromControl Methods (relative to the control) static public FloatRect FromControl(Control ctl, Padding pad) { return(new FloatRect(FloatPoint.GetPaddingTopLeft(pad), FloatPoint.GetClientSize(ctl) - FloatPoint.GetPaddingOffset(pad))); }
/// static FromControl Methods (relative to the control) static public FloatRect FromClientInfo(FloatPoint ClientSize, Padding pad) { return(new FloatRect(FloatPoint.GetPaddingTopLeft(pad), ClientSize - FloatPoint.GetPaddingOffset(pad))); }