public void setFrameFromCenter (double centerX, double centerY, double cornerX, double cornerY)

Sets the framing rectangle of this Shape based on the specified center point coordinates and corner point coordinates. The framing rectangle is used by the subclasses of RectangularShape to define their geometry.

Parameters:
centerX    the X coordinate of the specified center point
centerY    the Y coordinate of the specified center point
cornerX    the X coordinate of the specified corner point
cornerY    the Y coordinate of the specified corner point

Since:  1.2