C# Class ToddlerAddition.LongPressButton

Inheritance: UIView
显示文件 Open project: Clancey/ToddlerAddition Class Usage Examples

Public Methods

Method Description
ConvertToRadians ( float angle ) : float
Draw ( RectangleF rect ) : void
LongPressButton ( ) : System
TouchesBegan ( MonoTouch touches, UIEvent evt ) : void
TouchesCancelled ( MonoTouch touches, UIEvent evt ) : void
TouchesEnded ( MonoTouch touches, UIEvent evt ) : void
TouchesMoved ( MonoTouch touches, UIEvent evt ) : void

Private Methods

Method Description
Complete ( ) : void
DrawFilledShape ( ) : void
Reset ( ) : void
UpdateProgress ( ) : void
drawBorder ( ) : void

Method Details

ConvertToRadians() public method

public ConvertToRadians ( float angle ) : float
angle float
return float

Draw() public method

public Draw ( RectangleF rect ) : void
rect System.Drawing.RectangleF
return void

LongPressButton() public method

public LongPressButton ( ) : System
return System

TouchesBegan() public method

public TouchesBegan ( MonoTouch touches, UIEvent evt ) : void
touches MonoTouch
evt UIEvent
return void

TouchesCancelled() public method

public TouchesCancelled ( MonoTouch touches, UIEvent evt ) : void
touches MonoTouch
evt UIEvent
return void

TouchesEnded() public method

public TouchesEnded ( MonoTouch touches, UIEvent evt ) : void
touches MonoTouch
evt UIEvent
return void

TouchesMoved() public method

public TouchesMoved ( MonoTouch touches, UIEvent evt ) : void
touches MonoTouch
evt UIEvent
return void