//////////////////////////////////////////////////////////////
        //
        // ELLIPSE AND ARC
        //
        /////////////////////////////////////////////////////////////

        /**
         * The origin of the ellipse is modified by the ellipseMode() function.
         * The possible Modes are:
         * <ul>
         * <li>CENTER: the default configuration, specifies the location of the ellipse as the center of the shape.</li>
         * <li>RADIUS: the same like CENTER but width and height define radius of the ellipse rather than the diameter</li>
         * <li>CORNER: draws the shape from the upper-left corner of its bounding box.</li>
         * <li>CORNERS: uses the four parameters to ellipse() to set two opposing corners of the ellipse's bounding box</li>
         * </ul>
         * @param theMode, SHAPEMODE: Either CENTER, RADIUS, CORNER, or CORNERS.
         * @related ellipse ( )
         */
        public void EllipseMode(CCShapeMode theMode)
        {
            _myEllipseMode = theMode;
        }
 public void RectMode(CCShapeMode theRectMode)
 {
     _myRectMode = theRectMode;
 }