setBaseAndExtent example

FishDogCatBird

MIDDLE

CarBikeBoatPlane

Output: