ClassHtmlCanvas
Test class for an HtmlCanvas element <canvas>...</canvas>
Definition
Namespace:ArtOfTest.WebAii.Controls.HtmlControls
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class HtmlCanvas : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlHtmlCanvas
Inherited Members
Constructors
HtmlCanvas(Element)
Create a new test control
Properties
Context2dFillStyle
The the 2d context fillStyle value.
Context2dFont
The the 2d context font value.
Context2dGlobalAlpha
Get the 2d context global alpha.
Declaration
public double Context2dGlobalAlpha { get; set; }
Property Value
Context2dGlobalCompositOperation
The the 2d context globalCompositeOperation value.
Declaration
public string Context2dGlobalCompositOperation { get; set; }
Property Value
Context2dLineCap
The the 2d context lineCap value.
Context2dLineJoin
The the 2d context lineJoin value.
Context2dLineWidth
The the 2d context lineWidth value.
Context2dMiterLimit
The the 2d context miterLimit value.
Context2dShadowBlur
The the 2d context shadowBlur value.
Context2dShadowColor
The the 2d context shadowColor value.
Declaration
public string Context2dShadowColor { get; set; }
Property Value
Context2dShadowOffsetX
The the 2d context shadowOffsetX value.
Declaration
public double Context2dShadowOffsetX { get; set; }
Property Value
Context2dShadowOffsetY
The the 2d context shadowOffsetY value.
Declaration
public double Context2dShadowOffsetY { get; set; }
Property Value
Context2dStrokeStyle
The the 2d context strokeStyle value.
Declaration
public string Context2dStrokeStyle { get; set; }
Property Value
Context2dTextAlign
The the 2d context textAlign value.
Context2dTextBaseline
The the 2d context textBaseline value.
Declaration
public string Context2dTextBaseline { get; set; }
Property Value
Height
Get the canvas height.
Methods
AssignElement(Element)
Assign element and initialize this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The base element.
Overrides
Context2dArc(double, double, double, double, double, bool)
Invoke the 2d context arc method.
Context2dArcTo(double, double, double, double, double)
Invoke the 2d context arcTo method.
Context2dBeginPath()
Invoke the 2d context beginPath method.
Declaration
public void Context2dBeginPath()
Context2dBezierCurveTo(double, double, double, double, double, double)
Invoke the 2d context bezierCurveTo method.
Context2dClearRect(double, double, double, double)
Invoke the 2d context clearRect method.
Context2dClip()
Invoke the 2d context clip method.
Declaration
public void Context2dClip()
Context2dClosePath()
Invoke the 2d context closePath method.
Declaration
public void Context2dClosePath()
Context2dFill()
Invoke the 2d context fill method.
Declaration
public void Context2dFill()
Context2dFillRect(double, double, double, double)
Invoke the 2d context fillRect method.
Context2dFillText(string, double, double)
Invoke the 2d context fillText method.
Context2dFillText(string, double, double, double)
Invoke the 2d context fillText method.
Context2dIsPointInPath(double, double)
Invoke the 2d context isPointInPath method.
Context2dLineTo(double, double)
Invoke the 2d context lineTo method.
Context2dMoveTo(double, double)
Invoke the 2d context moveTo method.
Context2dQuadraticCurveTo(double, double, double, double)
Invoke the 2d context quadraticCurveTo method.
Context2dRect(double, double, double, double)
Invoke the 2d context rect method.
Context2dRestore()
Invoke the 2d context restore method.
Declaration
public void Context2dRestore()
Context2dRotate(double)
Invoke the 2d context rotate method.
Context2dSave()
Invoke the 2d context save method.
Declaration
public void Context2dSave()
Context2dScale(double, double)
Invoke the 2d context scale method.
Context2dScrollPathIntoView()
Invoke the 2d context scrollPathIntoView method.
Declaration
public void Context2dScrollPathIntoView()
Context2dSetTransform(double, double, double, double, double, double)
Invoke the 2d context setTransform method.
Context2dStroke()
Invoke the 2d context stroke method.
Declaration
public void Context2dStroke()
Context2dStrokeRect(double, double, double, double)
Invoke the 2d context strokeRect method.
Context2dStrokeText(string, double, double)
Invoke the 2d context strokeText method.
Context2dStrokeText(string, double, double, double)
Invoke the 2d context strokeText method.
Context2dTransform(double, double, double, double, double, double)
Invoke the 2d context transform method.
Context2dTranslate(double, double)
Invoke the 2d context translate method.