Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ellipse docs #513

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions doc/manual/canvas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,25 @@ the mixin class ``TwoPointMixin``.
appear *underneath* image objects. For most uses of the
viewer this is not a big limitation.

Ellipse
=======

Shape-specific attributes:

* ``x``: center of ellipse along x-axis, ``600`` in Figure :ref:`fig1`
* ``y``: center of ellipse along y-axis, ``750`` in Figure :ref:`fig1`
* ``xradius``: width of ellipse, ``50.0`` in Figure :ref:`fig1`
* ``yradius``: height of ellipse, ``250.0`` in Figure :ref:`fig1`

The ellipse shown below uses these attributes.

.. _fig1:
.. figure:: figures/ellipse.png
:scale: 100%
:figclass: h

FITS image of planetary nebula NGC6302 - the Bug Nebula, with ellipse.

Viewers
=======
All Ginga viewers are subclasses of ``ImageViewBase``. These objects
Expand Down
Binary file added doc/manual/figures/ellipse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.