C# Class ClanceysLib.Extensions

Show file Open project: Clancey/ClanceyLib

Public Methods

Method Description
AbsoluteHeight ( this orgRect ) : float
AbsoluteWidth ( this orgRect ) : float
Add ( this orgPoint, Point point ) : Point
Add ( this orgPoint, PointF point ) : PointF
Add ( this orgPoint, Size size ) : PointF
Add ( this orgPoint, SizeF size ) : PointF
Add ( this orgRect, PointF point ) : RectangleF
Add ( this orgRect, PointF point, SizeF size ) : RectangleF
Add ( this orgRect, SizeF size ) : RectangleF
Add ( this orgRect, float x, float y, float width, float height ) : RectangleF
Add ( this orgSize, Point point ) : Size
Add ( this orgSize, PointF point ) : SizeF
Add ( this orgSize, Size size ) : SizeF
Add ( this orgSize, SizeF size ) : SizeF
AddLocation ( this orgRect, float x, float y ) : RectangleF
AddSize ( this orgRect, SizeF size ) : RectangleF
AddSize ( this orgRect, float width, float height ) : RectangleF
SetHeight ( this orgRect, float height ) : RectangleF
SetHeight ( this orgRect, int height ) : RectangleF
SetLocation ( this orgRect, PointF point ) : RectangleF
SetLocation ( this orgRect, SizeF point ) : RectangleF
SetLocation ( this orgRect, float x, float y ) : RectangleF
SetSize ( this orgRect, SizeF size ) : RectangleF
SetSize ( this orgRect, float width, float height ) : RectangleF
SetWidth ( this orgRect, float width ) : RectangleF
SetWidth ( this orgRect, int width ) : RectangleF
Subtract ( this orgPoint, Point point ) : Point
Subtract ( this orgPoint, PointF point ) : Point
Subtract ( this orgPoint, PointF point ) : PointF
Subtract ( this orgRect, PointF point ) : RectangleF
Subtract ( this orgRect, PointF point, SizeF size ) : RectangleF
Subtract ( this orgRect, SizeF size ) : RectangleF
Subtract ( this orgRect, float x, float y, float width, float height ) : RectangleF
Subtract ( this orgSize, Point point ) : Size
Subtract ( this orgSize, SizeF size ) : Size
Subtract ( this orgSize, PointF point ) : SizeF
Subtract ( this orgSize, SizeF size ) : SizeF
SubtractLocation ( this orgRect, float x, float y ) : RectangleF
SubtractSize ( this orgRect, float width, float height ) : RectangleF

Method Details

AbsoluteHeight() public static method

public static AbsoluteHeight ( this orgRect ) : float
orgRect this
return float

AbsoluteWidth() public static method

public static AbsoluteWidth ( this orgRect ) : float
orgRect this
return float

Add() public static method

public static Add ( this orgPoint, Point point ) : Point
orgPoint this
point Point
return Point

Add() public static method

public static Add ( this orgPoint, PointF point ) : PointF
orgPoint this
point System.Drawing.PointF
return System.Drawing.PointF

Add() public static method

public static Add ( this orgPoint, Size size ) : PointF
orgPoint this
size System.Drawing.Size
return System.Drawing.PointF

Add() public static method

public static Add ( this orgPoint, SizeF size ) : PointF
orgPoint this
size System.Drawing.SizeF
return System.Drawing.PointF

Add() public static method

public static Add ( this orgRect, PointF point ) : RectangleF
orgRect this
point System.Drawing.PointF
return System.Drawing.RectangleF

Add() public static method

public static Add ( this orgRect, PointF point, SizeF size ) : RectangleF
orgRect this
point System.Drawing.PointF
size System.Drawing.SizeF
return System.Drawing.RectangleF

Add() public static method

public static Add ( this orgRect, SizeF size ) : RectangleF
orgRect this
size System.Drawing.SizeF
return System.Drawing.RectangleF

Add() public static method

public static Add ( this orgRect, float x, float y, float width, float height ) : RectangleF
orgRect this
x float
y float
width float
height float
return System.Drawing.RectangleF

Add() public static method

public static Add ( this orgSize, Point point ) : Size
orgSize this
point Point
return System.Drawing.Size

Add() public static method

public static Add ( this orgSize, PointF point ) : SizeF
orgSize this
point System.Drawing.PointF
return System.Drawing.SizeF

Add() public static method

public static Add ( this orgSize, Size size ) : SizeF
orgSize this
size System.Drawing.Size
return System.Drawing.SizeF

Add() public static method

public static Add ( this orgSize, SizeF size ) : SizeF
orgSize this
size System.Drawing.SizeF
return System.Drawing.SizeF

AddLocation() public static method

public static AddLocation ( this orgRect, float x, float y ) : RectangleF
orgRect this
x float
y float
return System.Drawing.RectangleF

AddSize() public static method

public static AddSize ( this orgRect, SizeF size ) : RectangleF
orgRect this
size System.Drawing.SizeF
return System.Drawing.RectangleF

AddSize() public static method

public static AddSize ( this orgRect, float width, float height ) : RectangleF
orgRect this
width float
height float
return System.Drawing.RectangleF

SetHeight() public static method

public static SetHeight ( this orgRect, float height ) : RectangleF
orgRect this
height float
return System.Drawing.RectangleF

SetHeight() public static method

public static SetHeight ( this orgRect, int height ) : RectangleF
orgRect this
height int
return System.Drawing.RectangleF

SetLocation() public static method

public static SetLocation ( this orgRect, PointF point ) : RectangleF
orgRect this
point System.Drawing.PointF
return System.Drawing.RectangleF

SetLocation() public static method

public static SetLocation ( this orgRect, SizeF point ) : RectangleF
orgRect this
point System.Drawing.SizeF
return System.Drawing.RectangleF

SetLocation() public static method

public static SetLocation ( this orgRect, float x, float y ) : RectangleF
orgRect this
x float
y float
return System.Drawing.RectangleF

SetSize() public static method

public static SetSize ( this orgRect, SizeF size ) : RectangleF
orgRect this
size System.Drawing.SizeF
return System.Drawing.RectangleF

SetSize() public static method

public static SetSize ( this orgRect, float width, float height ) : RectangleF
orgRect this
width float
height float
return System.Drawing.RectangleF

SetWidth() public static method

public static SetWidth ( this orgRect, float width ) : RectangleF
orgRect this
width float
return System.Drawing.RectangleF

SetWidth() public static method

public static SetWidth ( this orgRect, int width ) : RectangleF
orgRect this
width int
return System.Drawing.RectangleF

Subtract() public static method

public static Subtract ( this orgPoint, Point point ) : Point
orgPoint this
point Point
return Point

Subtract() public static method

public static Subtract ( this orgPoint, PointF point ) : Point
orgPoint this
point System.Drawing.PointF
return Point

Subtract() public static method

public static Subtract ( this orgPoint, PointF point ) : PointF
orgPoint this
point System.Drawing.PointF
return System.Drawing.PointF

Subtract() public static method

public static Subtract ( this orgRect, PointF point ) : RectangleF
orgRect this
point System.Drawing.PointF
return System.Drawing.RectangleF

Subtract() public static method

public static Subtract ( this orgRect, PointF point, SizeF size ) : RectangleF
orgRect this
point System.Drawing.PointF
size System.Drawing.SizeF
return System.Drawing.RectangleF

Subtract() public static method

public static Subtract ( this orgRect, SizeF size ) : RectangleF
orgRect this
size System.Drawing.SizeF
return System.Drawing.RectangleF

Subtract() public static method

public static Subtract ( this orgRect, float x, float y, float width, float height ) : RectangleF
orgRect this
x float
y float
width float
height float
return System.Drawing.RectangleF

Subtract() public static method

public static Subtract ( this orgSize, Point point ) : Size
orgSize this
point Point
return System.Drawing.Size

Subtract() public static method

public static Subtract ( this orgSize, SizeF size ) : Size
orgSize this
size System.Drawing.SizeF
return System.Drawing.Size

Subtract() public static method

public static Subtract ( this orgSize, PointF point ) : SizeF
orgSize this
point System.Drawing.PointF
return System.Drawing.SizeF

Subtract() public static method

public static Subtract ( this orgSize, SizeF size ) : SizeF
orgSize this
size System.Drawing.SizeF
return System.Drawing.SizeF

SubtractLocation() public static method

public static SubtractLocation ( this orgRect, float x, float y ) : RectangleF
orgRect this
x float
y float
return System.Drawing.RectangleF

SubtractSize() public static method

public static SubtractSize ( this orgRect, float width, float height ) : RectangleF
orgRect this
width float
height float
return System.Drawing.RectangleF