Throw or more usually twice the throw which is the stroke and the bore do not have to be the same, higher reving engines may have a stroke shorter than the bore where as something slow like a hit and miss engine tends to have the stroke quite a bit more than the bore.
Same for steam, a high speed marine engine will have a shorter stroke than a slow mill engine if both have the same bore.