Type BoxEdges
Namespace ImageResizer
Represents the widths of edges of a box.
Methods
Properties
Public instance methods
bool Equals(object obj)
Single[] GetEdgeOffsets()
Gets edge offsets as a clockwise array, starting with Top.
int GetHashCode()
Type GetType()
BoxEdges SetAll(double all)
Sets the width of all edges, returning a new instance
BoxEdges SetBottom(double bottom)
BoxEdges SetLeft(double left)
BoxEdges SetRight(double right)
BoxEdges SetTop(double top)
string ToString()
Returns a human-friendly representation of the instruction set. Not suitable for URL usage; use ToQueryString() for that.
Public static methods
Public properties
double All get;
Returns double.NaN unless all edges are the same width, in which case that width is returned
double Bottom get;
BoxEdges Empty get;
Returns an instance with a width of 0
bool IsEmpty get;
Returns true if th