# Home

###

## adjust_event.js

This file contains the functions to adjust an existing polygon.

Source:
  - adjust_event.js, line 1

## browser.js

This file contains functions for detecting and interacting with the different browser types.

Source:
  - browser.js, line 1

## bubble.js

This file contains functions that draw the popup bubble during labeling or editing an object.

Source:
  - bubble.js, line 1

## canvas.js

Generic rendering canvas. At a high-level, there are 4 canvases that are laid out. They correspond to the: (i) main canvas, (ii) drawing canvas, (iii) query canvas, (iv) polygon selection canvas. At any moment, one canvas is at the front and accepts mouse functions. The other canvases are hidden below and do not accept mouse functions. All canvases are transparent, meaning that their contents are always visible. The task of the tool is to switch between these canvases and to refresh their contents.

Source:
  - canvas.js, line 1

## draw_event.js

This file contains the scripts for when the draw event is activated.

Source:
  - draw_event.js, line 1

## edit_event.js

This file contains the scripts for when the edit event is activated.

Source:
  - edit_event.js, line 1

## file_info.js

Contains the file_info class, which parses the URL and sets global variables based on the URL.

Source:
  - file_info.js, line 1

## globals.js

Contains the global variables used in LabelMe.

Source:
  - globals.js, line 1

## handler.js

This contains the high-level commands for transitioning between the different annotation tool states. They are: REST, DRAW, SELECTED, QUERY.

Source:
  - handler.js, line 1

## image.js

File containing the image class. Fetches and manipulates the main image that will be annotated. From the HTML code, create a tag with an id and pass this id in as the argument when creating the class.

Source:
  - image.js, line 1

## io.js

Input/output functions for writing annotation files to the LabelMe server.

Source:
  - io.js, line 1

## sign_in.js

Sign in form for a user to enter their LabelMe username.

Source:
  - sign_in.js, line 1

## startup.js

This file contains the scripts used when LabelMe starts up.

Source:
  - startup.js, line 1

## xml_accessors.js

This file contains functions for reading attributes of an xml.

Source:
  - xml_accessors.js, line 1