C# Class ZForge.Motion.Core.CameraRegions

Inheritance: ISerializable
Afficher le fichier Open project: zhuangyy/Motion Class Usage Examples

Private Properties

Свойство Type Description
DrawGrid void
DrawOutline void
GetOutline System.Collections.ArrayList
HighlightRegion void
InRegion bool
RegionFilled bool
SnapRegion System.Collections.ArrayList

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CameraRegions ( ) : System
Résultat System

CameraRegions() public méthode

public CameraRegions ( SerializationInfo info, StreamingContext ctxt ) : System
info System.Runtime.Serialization.SerializationInfo
ctxt System.Runtime.Serialization.StreamingContext
Résultat System

ClearRegion() public méthode

public ClearRegion ( ) : void
Résultat void

Copy() public méthode

public Copy ( CameraRegions c ) : void
c CameraRegions
Résultat void

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext ctxt ) : void
info System.Runtime.Serialization.SerializationInfo
ctxt System.Runtime.Serialization.StreamingContext
Résultat void

RegionOverlapped() public méthode

public RegionOverlapped ( Rectangle rc ) : bool
rc System.Drawing.Rectangle
Résultat bool

Render() public méthode

public Render ( ) : Bitmap
Résultat System.Drawing.Bitmap

ReverseRegion() public méthode

public ReverseRegion ( ) : ArrayList
Résultat System.Collections.ArrayList

Serialize() public méthode

public Serialize ( ) : byte[]
Résultat byte[]

SwapRegion() public méthode

public SwapRegion ( int x, int y, int rw, int rh ) : ArrayList
x int
y int
rw int
rh int
Résultat System.Collections.ArrayList

Unserialize() public méthode

public Unserialize ( byte data ) : bool
data byte
Résultat bool