Go up one levelGo to Previous Go to Next

RtdImageMBand(n)

NAME

 
 RtdImageMBand - itcl class to display a "measure band"

NAMESPACE

 
 rtd

PARENT CLASS

 
 util::FrameWidget

SYNOPSIS

 
 RtdImageMBand <path> ?options?

DESCRIPTION

 
 RtdImageMBand is an itcl widget class used to display a "measure band"
 showing the distance between two points in world coordinates.


WIDGET OPTIONS

 
 -arrow_shape
        Line arrow shape option for measure band.

 -arrow_type
        Line arrow type option for measure band.

 -cursor
        Default cursor when drawing.

 -defaultcursor
        Default cursor when not drawing.

 -fill_color
        Fill color for label rectangle.

 -image
        Main RtdImage widget (set by caller).

 -line_color
        Line color option for measure band.

 -line_width
        Line width option for measure band.

 -outline_color
        Outline color for label rectangle.

 -text_color
        Text color for label.

 -text_font
        Font to use for labels.

PUBLIC METHODS

 
 check_stop {x y}
        Stop displaying the mband if the user has moved the mouse since it
        was created.

 mband {x y show_angle}
        Update the display of the measure band to show the distance
        between the endpoints in WCS.

 start {x y}
        Start displaying the measure band.

 stop {}
        Stop displaying the measure band and restore cursor and bindings.

PROTECTED VARIABLES

 
 canvas_
        Canvas window for image.

 image_
        Internal rtdimage widget for main image.

 saved_bindtags_
        Saved canvas bindings, restored later.

 x_
        X starting point of line.

 y_
        Y starting point of line.

SEE ALSO

 
 FrameWidget(n)

 


- - - - - -
Last change: 07 May 99

 


Go up one levelGo to Previous Go to Next

Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory