CompoundMixin
- class ginga.canvas.CompoundMixin.CompoundMixin[source]
Bases:
object
A CompoundMixin is a mixin class that makes an object that is an aggregation of other objects.
It is used to make generic compound drawing types as well as (for example) layers of canvases on top of an image.
Methods Summary
add_object
(obj[, belowThis])contains_pts
(pts)copy
([share])delete_object
(obj)delete_objects
(objects)draw
(viewer)get_edit_points
(viewer)get_items_at
(pt)get_llur
()Get lower-left and upper-right coordinates of the bounding box of this compound object.
get_objects_by_kind
(kind)get_objects_by_kinds
(kinds)has_object
(obj)inherit_from
(obj)initialize
(canvas, viewer, logger)lower_object
(obj[, belowThis])move_delta_pt
(off_pt)raise_object
(obj[, aboveThis])roll_objects
(n)rotate_deg
(thetas, offset)scale_by_factors
(factors)select_contains_pt
(viewer, pt)select_items_at
(viewer, pt[, test])set_attr_all
(**kwdargs)set_edit_point
(i, pt, detail)setup_edit
(detail)use_coordmap
(mapobj)Methods Documentation
- get_center_pt()