from JascApp import *

def ScriptProperties():
    return {
        'Author': u'Corel Corporation',
        'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
        'Description': '',
        'Host': u'Corel PaintShop Pro',
        'Host Version': u'8.00'
        }

def Swatch_SetMaterial():
    return {
        'IsPrimary': App.Constants.Boolean.true, 
        'NewMaterial': {
            'Color': (116,167,254), 
            'Pattern': None, 
            'Gradient': None, 
            'Texture': None
            }
        }

def Do(Environment):
    App.Do( Environment, 'SetMaterial',         Swatch_SetMaterial())

