
from JascApp import *

def ScriptProperties():
    return {
        'Author': u'Jasc Software, Inc.',
        'Copyright': u'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
        'Description': 'Factory default preset for Tiles effect',
        'Host': 'Paint Shop Pro 8',
        'Host Version': '8.00',
        }

def Preset_Tiles():
    return {
        'Elevation': 30,
        'Intensity': 50,
        'TileSize': 15,
        'Color': (255, 255, 255),
        'Shininess': 50,
        'BorderSize': 1,
        'TileAngularity': 75,
        'GeneralSettings': {
            'AutoActionMode': 0,
            'ExecutionMode': 0
            },
        'Depth': 1,
        'Ambience': 0,
        'Angle': 315,
        'TileShape': 2,
        'Smoothness': 25
        }

def Do(Environment):
    App.Do( Environment, 'Tiles', Preset_Tiles())
