C# Class BitmapReader.Extensions.PointExtensions

Show file Open project: egeozcan/DrawThatThing

Public Methods

Method Description
GetNeighboringPoints ( this point, int maxX = null, int maxY = null ) : Point[]
IsANeighborOf ( this point, Point toPoint ) : bool
ToStandardPoint ( this point ) : System.Drawing.Point

Method Details

GetNeighboringPoints() public static method

public static GetNeighboringPoints ( this point, int maxX = null, int maxY = null ) : Point[]
point this
maxX int
maxY int
return Point[]

IsANeighborOf() public static method

public static IsANeighborOf ( this point, Point toPoint ) : bool
point this
toPoint Point
return bool

ToStandardPoint() public static method

public static ToStandardPoint ( this point ) : System.Drawing.Point
point this
return System.Drawing.Point