// --------------------------------------------------------------------------------------------------------------------
//
// Copyright (c) James South.
// Licensed under the Apache License, Version 2.0.
//
//
// Defines properties and methods for ImageProcessor.Web Plugins.
//
// --------------------------------------------------------------------------------------------------------------------
namespace ImageProcessor.Web.Processors
{
using System.Text.RegularExpressions;
using ImageProcessor.Processors;
///
/// Defines properties and methods for ImageProcessor.Web Plugins.
///
public interface IWebGraphicsProcessor
{
#region Properties
///
/// Gets the regular expression to search strings for.
///
Regex RegexPattern { get; }
///
/// Gets the order in which this processor is to be used in a chain.
///
int SortOrder { get; }
///
/// Gets the associated graphics processor.
///
IGraphicsProcessor Processor { get; }
#endregion
#region Methods
///
/// The position in the original string where the first character of the captured substring was found.
///
///
/// The query string to search.
///
///
/// The zero-based starting position in the original string where the captured substring was found.
///
int MatchRegexIndex(string queryString);
#endregion
}
}