from PSPApp import *

def ScriptProperties():
    return {
        'Author': u'',
        'Copyright': u'',
        'Description': u'',
        'Host': u'PaintShop Pro',
        'Host Version': u'22.00'
        }

def Preset_SeamlessTiling():
    return {
        'TilingMethod': App.Constants.TilingMethod.Corner, 
        'Direction': App.Constants.Direction.Bidirectional, 
        'Width': 50, 
        'CornerStyle': App.Constants.CornerStyle.Linear, 
        'HorizontalOffset': 0, 
        'VerticalOffset': 100, 
        'Transition': 94
        }

def Do(Environment):
    # Mosaïque sans jointures
    App.Do( Environment, 'SeamlessTiling',         Preset_SeamlessTiling())

