.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. currentmodule:: wx.lib.ogl.basic

.. highlight:: python



.. _wx.lib.ogl.basic.CircleShape:

==========================================================================================================================================
|phoenix_title|  **wx.lib.ogl.basic.CircleShape**
==========================================================================================================================================

The :class:`CircleShape` class is an :class:`EllipseShape` whose width
and height are the same.



|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>CircleShape</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.lib.ogl.basic.CircleShape_inheritance.svg" alt="Inheritance diagram of CircleShape" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.ogl.basic.CircleShape.html" title="The CircleShape class is an EllipseShape whose width" alt="" coords="24,236,255,265"/> <area shape="rect" id="node2" href="wx.lib.ogl.basic.EllipseShape.html" title="The EllipseShape class behaves similarly to the" alt="" coords="21,159,259,188"/> <area shape="rect" id="node3" href="wx.lib.ogl.basic.Shape.html" title="The Shape is the base class for OGL shapes." alt="" coords="45,82,234,111"/> <area shape="rect" id="node4" href="wx.lib.ogl.basic.ShapeEvtHandler.html" title="The ShapeEvtHandler class." alt="" coords="5,5,274,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|super_classes| Known Superclasses
==================================

:class:`wx.lib.ogl.basic.EllipseShape`

|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.lib.ogl.basic.CircleShape.__init__`                                   Default class constructor
:meth:`~wx.lib.ogl.basic.CircleShape.GetPerimeterPoint`                          Get the perimeter point.
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: CircleShape(EllipseShape)

   The :class:`CircleShape` class is an :class:`EllipseShape` whose width
   and height are the same.

   .. method:: __init__(self, diameter)

      Default class constructor
      
      :param `diameter`: the diameter


   .. method:: GetPerimeterPoint(self, x1, y1, x2, y2)

      Get the perimeter point.
      
      :param `x1`: ???
      :param `y1`: ???
      :param `x2`: ???
      :param `y2`: ???
      :returns: ???


