public bool HitByRect(RectangleF R, bool Collapsed) { if (Collapsed) { return(CollapsedHitArea.IsVisible(R)); } else { return(HitArea.IsVisible(R)); } }
public bool HitByPoint(PointF P, bool Collapsed) { if (Collapsed) { return(CollapsedHitArea.IsVisible(P)); } else { return(HitArea.IsVisible(P)); } }