-- Director View Description List
-- Copyright 2006-2008 Adobe Systems Incorporated

[ 	#convolutionmatrixfilter: 
	[ 
		#comment: "ConvolutionMatrixFilter",
		
		#symbol: #ConvolutionMatrixFilter,
		
		#propertyDescriptionList:
		[
			#matrix:
        	    	[
                		#comment: "Matrix Control"
            		],
			#bias:
			[
				#format: #float,
				#comment: "Bias to add to the result of the matrix transformation"
			],
			#divisor:
			[
				#format: #float,
				#comment: "The divisor used during matrix transformation"
			],
            		#color:
            		[
				#format: #color,
				#comment: "Hexadecimal color to substitute for pixels"
            		],
			#alpha: 
			[
			 	#format: #integer,
			 	#comment: "Filter strength",
			 	#range: 
			 	[
			 		#min: 0,
			 		#max: 255,
					#granularity: 1
			 	],
				#comment: "The alpha transparency value of the substitute color"
			],
			#clamp: 
			[
			 	#format: #boolean,
				#comment: "Indicates whether the image should be clamped"
			],

			#preserveAlpha: 
			[
			 	#format: #boolean,
				#comment: "Indicates what the convolution applies to"
			]
		],

		#itemDescriptionList:
		[
			#mymatrix:
			[
				#type: #matrixcontrol,
				#property: #matrix,
				#comment: "Matrix Control",
				#left: 2,
				#top: 144,
				#right: -1,
				#bottom: 270
					
			],
			#biasLabel:
			[
				#type: #label,
				#alignment: #right,
				#text: "Bias:",
				#comment: "Bias to add to the result of the matrix transformation",
				#left: 0,
				#top: 275,
				#right: 35,
				#bottom: 291
			],

			#bias:
			[
				#type: #field,
				#property: #bias,
				#left: 40,
				#top: 275,
				#right: 92,
				#bottom: 291
			],
			#divisorLabel:
			[
				#type: #label,
				#alignment: #right,
				#text: "Divisor:",
				#comment: "The divisor used during matrix transformation",
				#left: 101,
				#top: 275,
				#right: 135,
				#bottom: 291
			],

			#divisor:
			[
				#type: #field,
				#property: #divisor,
				#left: 140,
				#top: 275,
				#right: 192,
				#bottom: 291
			],

			#colorLabel:
		        [
		                #type: #label,
                		#alignment: #right,
		                #text: "Color:",
				#comment: "Hexadecimal color to substitute for pixels",
		                #left: 0,
                		#top: 296,
		                #right: 37,
                		#bottom: 312
            		],

			#colorField:
			[
				#type: #field,
				#property: #color,
				#left: 40,
				#top: 296,
				#right: 92,
				#bottom: 312
			],

         		#color:
            		[
				#type: #color,
       				#property: #color,
      				#left: 101,
    				#top: 296,
 				#right: 120,
                		#bottom: 312
        		],

			#alphaLabel:
			[
				#type :#label,
				#alignment: #right,
				#text:"Alpha:",
				#comment: "The alpha transparency value of the substitute color",
				#left: 0,
				#top: 317,
				#right: 39,
				#bottom: 333
			],

			#alpha:
			[
				#type: #alpha,
				#property: #alpha,
				#left: 40,
				#top: 317,
				#right: -1,
				#bottom: 333
			],
			#clamp:		
			[
				#property: #clamp,
				#text: "Clamp",
				#comment: "Indicates whether the image should be clamped",		
				#left: 40,
				#top: 338,
				#right: 98,
				#bottom: 356
			],

			#preserveAlpha:		
			[
				#property: #preserveAlpha,
				#text: "Preserve Alpha",
				#comment: "Indicates what the convolution applies to",
				#left: 101,
				#top: 338,
				#right: 195,
				#bottom: 356
			]
		]
	]
]

