ImageResizer  3.4.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Classes | Public Member Functions | List of all members
ImageResizer.Plugins.Basic.Gradient Class Reference

Allows gradients to be dynamically generated like so: More...

Inheritance diagram for ImageResizer.Plugins.Basic.Gradient:
Inheritance graph
[legend]
Collaboration diagram for ImageResizer.Plugins.Basic.Gradient:
Collaboration graph
[legend]

Classes

class  GradientVirtualFile
 

Public Member Functions

bool FileExists (string virtualPath, System.Collections.Specialized.NameValueCollection queryString)
 
IVirtualFile GetFile (string virtualPath, System.Collections.Specialized.NameValueCollection queryString)
 
IEnumerable< string > GetSupportedQuerystringKeys ()
 If the plugin reads any values from the querystring, the names of the keys should be specified here. This information is required so that the HttpModule knows when to handle an image request. More...
 
IPlugin Install (Configuration.Config c)
 
bool Uninstall (Configuration.Config c)
 
- Public Member Functions inherited from ImageResizer.Plugins.IPlugin
IPlugin Install (Config c)
 Installs the plugin in the specified Config instance. The plugin must handle all the work of loading settings, registering the plugin etc. More...
 
bool Uninstall (Config c)
 Uninstalls the plugin. Should reverse all changes made during Install More...
 
- Public Member Functions inherited from ImageResizer.Plugins.IVirtualImageProvider
bool FileExists (string virtualPath, NameValueCollection queryString)
 Returns true if the specified file exists. More...
 
IVirtualFile GetFile (string virtualPath, NameValueCollection queryString)
 Returns a virtual file instance for the specified path and querystring. More...
 

Detailed Description

Allows gradients to be dynamically generated like so:

/gradient.png?color1=white&color2=black&angle=40&width=20&height=100

Definition at line 17 of file Gradient.cs.

Member Function Documentation

IEnumerable<string> ImageResizer.Plugins.Basic.Gradient.GetSupportedQuerystringKeys ( )
inline

If the plugin reads any values from the querystring, the names of the keys should be specified here. This information is required so that the HttpModule knows when to handle an image request.

Returns

Implements ImageResizer.Plugins.IQuerystringPlugin.

Definition at line 26 of file Gradient.cs.

26  {
27  return new string[] {"color1","color2", "angle", "width", "height" };
28  }

The documentation for this class was generated from the following file: