Draw arbitrary stuff in level editor only

Is there an API for drawing arbitrary things in the level editor only (ie, not while the game is running)? I know you can draw Gizmos, but this doesn’t quite suit my purposes. For example, is there a way to emulate the way Box Colliders are drawn as green boxes when selected?

Could you expand on how gizmos are unsuitable? Your example is totally possible using gizmos :