C# Class DiscMenu.CenterView

Inheritance: Android.Views.SurfaceView, ISurfaceHolderCallback, IRunnable
Afficher le fichier Open project: gruan01/Xamarin-Example Class Usage Examples

Méthodes publiques

Méthode Description
CenterView ( Android.Content.Context ctx, Android.Graphics.Bitmap center, int radius ) : System
Run ( ) : void
Start ( ) : void
Stop ( ) : void
SurfaceChanged ( ISurfaceHolder holder, [ format, int width, int height ) : void
SurfaceCreated ( ISurfaceHolder holder ) : void
SurfaceDestroyed ( ISurfaceHolder holder ) : void

Private Methods

Méthode Description
Draw ( ) : void
DrawBitmap ( Android.Graphics.Canvas c, Android.Graphics.Bitmap bmp ) : void
DrawCenter ( Android.Graphics.Canvas c ) : void
DrawRing ( Android.Graphics.Canvas c ) : void
ToRadians ( float degree ) : double

Method Details

CenterView() public méthode

public CenterView ( Android.Content.Context ctx, Android.Graphics.Bitmap center, int radius ) : System
ctx Android.Content.Context
center Android.Graphics.Bitmap
radius int
Résultat System

Run() public méthode

public Run ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

SurfaceChanged() public méthode

public SurfaceChanged ( ISurfaceHolder holder, [ format, int width, int height ) : void
holder ISurfaceHolder
format [
width int
height int
Résultat void

SurfaceCreated() public méthode

public SurfaceCreated ( ISurfaceHolder holder ) : void
holder ISurfaceHolder
Résultat void

SurfaceDestroyed() public méthode

public SurfaceDestroyed ( ISurfaceHolder holder ) : void
holder ISurfaceHolder
Résultat void