C# Class ZForge.Motion.Core.CameraRegions

Inheritance: ISerializable
Mostrar archivo Open project: zhuangyy/Motion Class Usage Examples

Private Properties

Property Type Description
DrawGrid void
DrawOutline void
GetOutline System.Collections.ArrayList
HighlightRegion void
InRegion bool
RegionFilled bool
SnapRegion System.Collections.ArrayList

Public Methods

Method Description
CameraRegions ( ) : System
CameraRegions ( SerializationInfo info, StreamingContext ctxt ) : System
ClearRegion ( ) : void
Copy ( CameraRegions c ) : void
GetObjectData ( SerializationInfo info, StreamingContext ctxt ) : void
RegionOverlapped ( Rectangle rc ) : bool
Render ( ) : Bitmap
ReverseRegion ( ) : ArrayList
Serialize ( ) : byte[]
SwapRegion ( int x, int y, int rw, int rh ) : ArrayList
Unserialize ( byte data ) : bool

Private Methods

Method Description
DrawGrid ( Graphics g ) : void
DrawOutline ( Graphics g ) : void
GetOutline ( ) : ArrayList
HighlightRegion ( Graphics g, Bitmap bmp ) : void
InRegion ( int x, int y ) : bool
RegionFilled ( ArrayList rs ) : bool
SnapRegion ( int x, int y ) : ArrayList

Method Details

CameraRegions() public method

public CameraRegions ( ) : System
return System

CameraRegions() public method

public CameraRegions ( SerializationInfo info, StreamingContext ctxt ) : System
info System.Runtime.Serialization.SerializationInfo
ctxt System.Runtime.Serialization.StreamingContext
return System

ClearRegion() public method

public ClearRegion ( ) : void
return void

Copy() public method

public Copy ( CameraRegions c ) : void
c CameraRegions
return void

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext ctxt ) : void
info System.Runtime.Serialization.SerializationInfo
ctxt System.Runtime.Serialization.StreamingContext
return void

RegionOverlapped() public method

public RegionOverlapped ( Rectangle rc ) : bool
rc System.Drawing.Rectangle
return bool

Render() public method

public Render ( ) : Bitmap
return System.Drawing.Bitmap

ReverseRegion() public method

public ReverseRegion ( ) : ArrayList
return System.Collections.ArrayList

Serialize() public method

public Serialize ( ) : byte[]
return byte[]

SwapRegion() public method

public SwapRegion ( int x, int y, int rw, int rh ) : ArrayList
x int
y int
rw int
rh int
return System.Collections.ArrayList

Unserialize() public method

public Unserialize ( byte data ) : bool
data byte
return bool