# Path: openpyxl/style.py
# class Color(HashableObject):
#     """Named colors for use in styles."""
#     BLACK = 'FF000000'
#     WHITE = 'FFFFFFFF'
#     RED = 'FFFF0000'
#     DARKRED = 'FF800000'
#     BLUE = 'FF0000FF'
#     DARKBLUE = 'FF000080'
#     GREEN = 'FF00FF00'
#     DARKGREEN = 'FF008000'
#     YELLOW = 'FFFFFF00'
#     DARKYELLOW = 'FF808000'
# 
#     __fields__ = ('index',)
#     __slots__ = __fields__
#     __leaf__ = True
# 
#     def __init__(self, index):
#         super(Color, self).__init__()
#         self.index = index


import math
from openpyxl.style import Color
from openpyxl.shared.units import pixels_to_EMU, EMU_to_pixels, short_color

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

@license: http://www.opensource.org/licenses/mit-license.php
@author: Eric Gazoni
'''


class Shadow(object):
    
    SHADOW_BOTTOM = 'b'
    SHADOW_BOTTOM_LEFT = 'bl'
    SHADOW_BOTTOM_RIGHT = 'br'
    SHADOW_CENTER = 'ctr'
    SHADOW_LEFT = 'l'
    SHADOW_TOP = 't'
    SHADOW_TOP_LEFT = 'tl'
    SHADOW_TOP_RIGHT = 'tr'

    def __init__(self):
    	self.visible = False
    	self.blurRadius = 6
    	self.distance = 2
    	self.direction = 0
    	self.alignment = self.SHADOW_BOTTOM_RIGHT

# Path: openpyxl/style.py
# class Color(HashableObject):
#     """Named colors for use in styles."""
#     BLACK = 'FF000000'
#     WHITE = 'FFFFFFFF'
#     RED = 'FFFF0000'
#     DARKRED = 'FF800000'
#     BLUE = 'FF0000FF'
#     DARKBLUE = 'FF000080'
#     GREEN = 'FF00FF00'
#     DARKGREEN = 'FF008000'
#     YELLOW = 'FFFFFF00'
#     DARKYELLOW = 'FF808000'
# 
#     __fields__ = ('index',)
#     __slots__ = __fields__
#     __leaf__ = True
# 
#     def __init__(self, index):
#         super(Color, self).__init__()
#         self.index = index


# Path: openpyxl/drawing.py
import math
from openpyxl.style import Color
from openpyxl.shared.units import pixels_to_EMU, EMU_to_pixels, short_color

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

@license: http://www.opensource.org/licenses/mit-license.php
@author: Eric Gazoni
'''


class Shadow(object):
    
    SHADOW_BOTTOM = 'b'
    SHADOW_BOTTOM_LEFT = 'bl'
    SHADOW_BOTTOM_RIGHT = 'br'
    SHADOW_CENTER = 'ctr'
    SHADOW_LEFT = 'l'
    SHADOW_TOP = 't'
    SHADOW_TOP_LEFT = 'tl'
    SHADOW_TOP_RIGHT = 'tr'

    def __init__(self):
    	self.visible = False
    	self.blurRadius = 6
    	self.distance = 2
    	self.direction = 0
    	self.alignment = self.SHADOW_BOTTOM_RIGHT

    	self.color = Color(Color.BLACK)
