ImageResizer  3.4.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Classes | Enumerations
Package ImageResizer.Resizing

Classes

class  AbstractImageProcessor
 Not for external use. Inherit from BuilderExtension instead. Dual-purpose base class for both ImageBuilder and BuilderExtension Extensions can inherit and override certain methods. ImageBuilder inherits this method to utilize its extension invocation code. Each method of AbstractImageProcessor loops through all extensions and executes the same method on each. Provides a sort of multiple-inheritance mechanisim. More...
 
class  BitmapTag
 
class  BoxPadding
 Represents the widths of edges of a box. More...
 
class  BuilderExtension
 Provides a useable base class that can be used to modify the behavior of ImageBuilder. When registered with an ImageBuilder instance, the ImageBuilder will call the corresponding methods on the extension prior to executing its own methods. More...
 
class  ImageState
 Encapsulates the state of an image being resized. Can be used to simulate a resize as well as actually perform one. All code should ignore when Bitmaps and Graphics objects are null, and go about simulating all the mathematical functions as normal. More...
 
class  LayoutBuilder
 

Enumerations

enum  RequestedAction { RequestedAction.None = 0, RequestedAction.Cancel }
 What to do about remaining handlers/methods for the specified section More...
 

Enumeration Type Documentation

What to do about remaining handlers/methods for the specified section

Enumerator
None 

Does nothing

Cancel 

Requests that ImageBuilder cancels the default logic of the method, and stop executing plugin calls for the method immediately.

Definition at line 13 of file AbstractImageProcessor.cs.

13  {
14  /// <summary>
15  /// Does nothing
16  /// </summary>
17  None = 0,
18  /// <summary>
19  /// Requests that ImageBuilder cancels the default logic of the method, and stop executing plugin calls for the method immediately.
20  /// </summary>
21  Cancel,
22  }
Fit mode will be determined by other settings, such as &amp;carve=true, &amp;stretch=fill, and &amp;crop=auto. If none are specified and width/height are specified , &amp;mode=pad will be used. If maxwidth/maxheight are used, &amp;mode=max will be used.
Requests that ImageBuilder cancels the default logic of the method, and stop executing plugin calls f...