C# Class AlphaTab.Platform.JavaScript.Html5Canvas

A canvas implementation for HTML5 canvas
Inheritance: SharpKit.Html.HtmlContext, ICanvas
Datei anzeigen Open project: CoderLine/alphaTab

Public Methods

Method Description
BeginPath ( ) : void
BeginRender ( float width, float height ) : void
BezierCurveTo ( float cp1x, float cp1y, float cp2x, float cp2y, float x, float y ) : void
ClosePath ( ) : void
EndRender ( ) : object
Fill ( ) : void
FillCircle ( float x, float y, float radius ) : void
FillMusicFontSymbol ( float x, float y, float scale, MusicFontSymbol symbol ) : void
FillRect ( float x, float y, float w, float h ) : void
FillText ( string text, float x, float y ) : void
Html5Canvas ( ) : System
LineTo ( float x, float y ) : void
MeasureText ( string text ) : float
MoveTo ( float x, float y ) : void
OnPreRender ( ) : object
OnRenderFinished ( ) : object
QuadraticCurveTo ( float cpx, float cpy, float x, float y ) : void
Stroke ( ) : void
StrokeRect ( float x, float y, float w, float h ) : void

Method Details

BeginPath() public method

public BeginPath ( ) : void
return void

BeginRender() public method

public BeginRender ( float width, float height ) : void
width float
height float
return void

BezierCurveTo() public method

public BezierCurveTo ( float cp1x, float cp1y, float cp2x, float cp2y, float x, float y ) : void
cp1x float
cp1y float
cp2x float
cp2y float
x float
y float
return void

ClosePath() public method

public ClosePath ( ) : void
return void

EndRender() public method

public EndRender ( ) : object
return object

Fill() public method

public Fill ( ) : void
return void

FillCircle() public method

public FillCircle ( float x, float y, float radius ) : void
x float
y float
radius float
return void

FillMusicFontSymbol() public method

public FillMusicFontSymbol ( float x, float y, float scale, MusicFontSymbol symbol ) : void
x float
y float
scale float
symbol MusicFontSymbol
return void

FillRect() public method

public FillRect ( float x, float y, float w, float h ) : void
x float
y float
w float
h float
return void

FillText() public method

public FillText ( string text, float x, float y ) : void
text string
x float
y float
return void

Html5Canvas() public method

public Html5Canvas ( ) : System
return System

LineTo() public method

public LineTo ( float x, float y ) : void
x float
y float
return void

MeasureText() public method

public MeasureText ( string text ) : float
text string
return float

MoveTo() public method

public MoveTo ( float x, float y ) : void
x float
y float
return void

OnPreRender() public method

public OnPreRender ( ) : object
return object

OnRenderFinished() public method

public OnRenderFinished ( ) : object
return object

QuadraticCurveTo() public method

public QuadraticCurveTo ( float cpx, float cpy, float x, float y ) : void
cpx float
cpy float
x float
y float
return void

Stroke() public method

public Stroke ( ) : void
return void

StrokeRect() public method

public StrokeRect ( float x, float y, float w, float h ) : void
x float
y float
w float
h float
return void