how to find the "center" of Graphics Layer

Discussion created by fallingdog on Jul 1, 2014
Latest reply on Jul 2, 2014 by sgill-esristaff
It looks like I can call getExtent() to get a polygon of the extent of the layer. Next I would like to have the point that is the center of the extent so that I can pan to it with my map view? I have looked around and can not find a method that will do this (probably looking right past it in the API). Any help would be much apprenticed.