Measures and stores card dimensions.