C# Class Paint.Canvas

Inheritance: System.Windows.Forms.Panel
Mostrar archivo Open project: RandolphBurt/MonoGame-iOS-SimplePaint

Public Methods

Method Description
Canvas ( IGraphicsDisplay graphicsDisplay ) : System

Initializes a new instance of the Paint.Canvas class.

Draw ( List touchPoints ) : void

Draw the latest updates to our image/render target. The list of all gestures / locations touched by the user since the last update

Private Methods

Method Description
DrawPicture ( List touchPoints ) : void

Updates our picture with any new points on screen that the user has touched The list of all gestures / locations that we need to paint

Method Details

Canvas() public method

Initializes a new instance of the Paint.Canvas class.
public Canvas ( IGraphicsDisplay graphicsDisplay ) : System
graphicsDisplay IGraphicsDisplay
return System

Draw() public method

Draw the latest updates to our image/render target. The list of all gestures / locations touched by the user since the last update
public Draw ( List touchPoints ) : void
touchPoints List
return void