Add getSize to MaterialBrush and Schematic