azcam_ds9/ds9display.py
def draw_box(self, xy, size=[51, 51], angle=0):
        """
        Draw a box on the display.

        :param list xy: [x,y] coords of box to be drawn in image coordinates
        :param list size: [xwidth,ywidth] of box
        :param float angle: Angle of box.
        :return None:
        """

        cmd = f"regions command '{{box {xy[0]} {xy[1]} {size[0]} {size[1]} {angle}}}'"
        self.xpaset(cmd)

        return

        Draw a box on the display.

        :param list xy: [x,y] coords of box to be drawn in image coordinates
        :param list size: [xwidth,ywidth] of box
        :param float angle: Angle of box.
        :return None:
        
Draw a box on the display.
Draw a box on the display .
def draw_box(self, xy, size=[51, 51], angle=0):
        cmd = f"regions command '{{box {xy[0]} {xy[1]} {size[0]} {size[1]} {angle}}}'"
        self.xpaset(cmd)
        return
def draw_box ( self , xy , size = [ 51 , 51 ] , angle = 0 ) : cmd = f"regions command '{{box {xy[0]} {xy[1]} {size[0]} {size[1]} {angle}}}'" self . xpaset ( cmd ) return
Draw a box on the display.
Draw a box on the display .
"""
        Draw a box on the display.

        :param list xy: [x,y] coords of box to be drawn in image coordinates
        :param list size: [xwidth,ywidth] of box
        :param float angle: Angle of box.
        :return None:
        """
None
None
self
xy
[x,y] coords of box to be drawn in image coordinates
[ x y ] coords of box to be drawn in image coordinates
size
[xwidth,ywidth] of box
[ xwidth ywidth ] of box
angle
Angle of box.
Angle of box .