C# Class Grafiti.GestureRecognizers.LazoGR

Inheritance: Grafiti.GlobalGestureRecognizer
Afficher le fichier Open project: nuigroup/grafiti

Méthodes publiques

Méthode Description
LazoGR ( ) : System
LazoGR ( GRConfiguration configuration ) : System
PointInPath ( float x, float y, Trace trace ) : bool

Determine if a point is inside the polygon described by the trace. Thanks to Daniel Kuppitz who posted a message with the code in a forum.

Process ( List traces ) : void

Method Details

LazoGR() public méthode

public LazoGR ( ) : System
Résultat System

LazoGR() public méthode

public LazoGR ( GRConfiguration configuration ) : System
configuration Grafiti.GRConfiguration
Résultat System

PointInPath() public static méthode

Determine if a point is inside the polygon described by the trace. Thanks to Daniel Kuppitz who posted a message with the code in a forum.
public static PointInPath ( float x, float y, Trace trace ) : bool
x float X coordinate of the point.
y float Y coordinate of the point.
trace Trace The trace describing the polygon.
Résultat bool

Process() public méthode

public Process ( List traces ) : void
traces List
Résultat void