# Path: src/model/properties.py
# class PropertyHolder(object):
#     def __init__(self):
#         self._properties = {}
# 
#     @property
#     def properties(self):
#         return self._properties
# 
#     def property(self, name):
#         return self._properties[name]
# 
#     def has_property(self, name):
#         return name in self._properties.keys()
# 
#     def property_value(self, name):
#         return self._properties[name].value
# 
#     def add_property(self, prop_name, prop_value, prop_description=None):
# 
#         if type(prop_value) is int:
#             self._properties[prop_name] = NumberProperty(prop_name, prop_description, prop_value)
#         elif type(prop_value) is bool:
#             self._properties[prop_name] = BooleanProperty(prop_name, prop_description, prop_value)
# 
#     def add_ranged_property(self, prop_name, prop_min, prop_max, prop_value=None,
#                             prop_description=None):
#         self._properties[prop_name] = RangedProperty(prop_name, prop_min, prop_max,
#                                                      prop_description, prop_value, )


from src.model.properties import PropertyHolder
import src.helpers.drawing as drawing
# -------------------------------------------------------------------------------------------------
# Name:        Inks
# Purpose:     Inks module used by Canvas. An Ink is a visual representation of a tool acting
#              on the Canvas
# Author:      Rafael Vasco
#
# Created:     28/04/13
# Copyright:   (c) Rafael 2013
# Licence:     <your licence>
#--------------------------------------------------------------------------------------------------




class Ink(PropertyHolder):
    def __init__(self):
        super(Ink, self).__init__()


# Path: src/model/properties.py
# class PropertyHolder(object):
#     def __init__(self):
#         self._properties = {}
# 
#     @property
#     def properties(self):
#         return self._properties
# 
#     def property(self, name):
#         return self._properties[name]
# 
#     def has_property(self, name):
#         return name in self._properties.keys()
# 
#     def property_value(self, name):
#         return self._properties[name].value
# 
#     def add_property(self, prop_name, prop_value, prop_description=None):
# 
#         if type(prop_value) is int:
#             self._properties[prop_name] = NumberProperty(prop_name, prop_description, prop_value)
#         elif type(prop_value) is bool:
#             self._properties[prop_name] = BooleanProperty(prop_name, prop_description, prop_value)
# 
#     def add_ranged_property(self, prop_name, prop_min, prop_max, prop_value=None,
#                             prop_description=None):
#         self._properties[prop_name] = RangedProperty(prop_name, prop_min, prop_max,
#                                                      prop_description, prop_value, )


# Path: src/model/inks.py
from src.model.properties import PropertyHolder
import src.helpers.drawing as drawing

# -------------------------------------------------------------------------------------------------
# Name:        Inks
# Purpose:     Inks module used by Canvas. An Ink is a visual representation of a tool acting
#              on the Canvas
# Author:      Rafael Vasco
#
# Created:     28/04/13
# Copyright:   (c) Rafael 2013
# Licence:     <your licence>
#--------------------------------------------------------------------------------------------------




class Ink(PropertyHolder):
    def __init__(self):
        super(Ink, self).__init__()


        self._name = ''