from JascApp import *

def ScriptProperties():
    return {
        'Author': u'Jasc Software, Inc.',
        'Copyright': u'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
        'Description': u'',
        'Host': u'Paint Shop Pro',
        'Host Version': u'8.10'
        }

def Preset_Halftone():
    return {
        'BackgroundColor': (255,255,255), 
        'ColorScheme': App.Constants.ColorScheme.Greyscale, 
        'HalftonePattern': App.Constants.HalftonePattern.Line, 
        'Overlay': App.Constants.Boolean.true, 
        'OverlayBlendMode': App.Constants.BlendMode.Normal, 
        'OverlayOpacity': 20, 
        'PatternColor': (0,0,0), 
        'ScreenAngles': (90,45,90), 
        'Size': 10, 
        'TransparentBackground': App.Constants.Boolean.true
        }

def Do(Environment):
    # Halftone
    App.Do( Environment, 'Halftone',         Preset_Halftone())

