LineAnnotation

class scenebox.models.annotation.LineAnnotation(lines, **kwargs)

Create a Line annotation.

Created from a union of one or more Lines.

Parameters:
  • lines – All Lines to include in the LineAnnotation.

  • **kwargs – Additional annotation attributes. The keyword arguments are passed to scenebox.models.annotation.

Methods

to_dic

return a dictionary object representative of Annotation :return: dictionary object

to_dic()

return a dictionary object representative of Annotation :return: dictionary object