#!/usr/bin/env python # -*- coding: utf-8 -*- # vim:ts=4:sw=4:et:ai:sts=4 class GraphicalInfo(object): """ This class allows to describe the position and dimensions of a 2D object in a GUI canvas""" def __init__(self, label): self.x = 0.0 self.y = 0.0 self.width = 0.0 self.height = 0.0 self.label = label