C# Class AffdexMe.DrawingCanvas

Inheritance: System.Windows.Controls.Canvas
Show file Open project: Affectiva/affdexme-win

Public Methods

Method Description
DrawingCanvas ( ) : System

Initializes a new instance of the DrawingCanvas class.

NameMappings ( String classifierName ) : String

Protected Methods

Method Description
OnRender ( System dc ) : void

Draws the content of a T:System.Windows.Media.DrawingContext object during the render pass of a T:System.Windows.Controls.Panel element.

Private Methods

Method Description
ConcatInt ( int x, int y ) : string
loadImage ( string name, string extension = "png" ) : BitmapImage

Method Details

DrawingCanvas() public method

Initializes a new instance of the DrawingCanvas class.
public DrawingCanvas ( ) : System
return System

NameMappings() public method

public NameMappings ( String classifierName ) : String
classifierName String
return String

OnRender() protected method

Draws the content of a T:System.Windows.Media.DrawingContext object during the render pass of a T:System.Windows.Controls.Panel element.
protected OnRender ( System dc ) : void
dc System The object to draw.
return void