selectShapesAtPoint method

List<GShape> selectShapesAtPoint(
  1. Point p, {
  2. bool recursive = false,
})

Implementation

List<GShape> selectShapesAtPoint(Point p, {bool recursive = false}) {
  if (shapeBoundingBox.containsPoint(p)) {
    return [this];
  } else {
    return [];
  }
}