public override bool FillContainsPoint(Layerage layerage, Vector2 point) { if (this.Visibility == Visibility.Collapsed) { return(false); } foreach (Layerage layerage2 in layerage.Children) { ILayer layer = layerage2.Self; if (layer.FillContainsPoint(layerage2, point)) { return(true); } } return(false); }
private bool GetClickSelectedLayerage_FillContainsPoint(Layerage layerage, Vector2 canvasPoint) { ILayer layer = layerage.Self; return(layer.FillContainsPoint(layerage, canvasPoint)); }