C# Class OurSonic.Utility.CanvasInformation

Show file Open project: OurSonic/OurSonicSharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CanvasInformation ( CanvasRenderingContext2D context, jQueryObject domCanvas ) : System.Html
Create ( CanvasElement canvas, int w, int h, bool pixelated ) : CanvasInformation
Create ( int w, int h, bool pixelated ) : CanvasInformation

Method Details

CanvasInformation() public method

public CanvasInformation ( CanvasRenderingContext2D context, jQueryObject domCanvas ) : System.Html
context System.Html.Media.Graphics.CanvasRenderingContext2D
domCanvas jQueryObject
return System.Html

Create() public static method

public static Create ( CanvasElement canvas, int w, int h, bool pixelated ) : CanvasInformation
canvas System.Html.CanvasElement
w int
h int
pixelated bool
return CanvasInformation

Create() public static method

public static Create ( int w, int h, bool pixelated ) : CanvasInformation
w int
h int
pixelated bool
return CanvasInformation