C# Class OurSonic.Areas.PaletteArea

Inheritance: Panel
显示文件 Open project: OurSonic/OurSonicSharp

Private Properties

Property Type Description

Public Methods

Method Description
Construct ( ) : void
Draw ( CanvasRenderingContext2D canv ) : void
Init ( string palette, bool wide ) : void
OnClick ( Pointer e ) : bool
OnMouseOver ( Pointer e ) : bool
OnMouseUp ( Pointer e ) : bool
PaletteArea ( int x, int y ) : System

Method Details

Construct() public method

public Construct ( ) : void
return void

Draw() public method

public Draw ( CanvasRenderingContext2D canv ) : void
canv System.Html.Media.Graphics.CanvasRenderingContext2D
return void

Init() public method

public Init ( string palette, bool wide ) : void
palette string
wide bool
return void

OnClick() public method

public OnClick ( Pointer e ) : bool
e OurSonic.UIManager.Pointer
return bool

OnMouseOver() public method

public OnMouseOver ( Pointer e ) : bool
e OurSonic.UIManager.Pointer
return bool

OnMouseUp() public method

public OnMouseUp ( Pointer e ) : bool
e OurSonic.UIManager.Pointer
return bool

PaletteArea() public method

public PaletteArea ( int x, int y ) : System
x int
y int
return System