public bool HitTest(Vector2 hitPosition) { return(IsHitTestVisible && LayoutSize.Contains(hitPosition)); }