Class HtmlCanvas
Inherited Members
Namespace: ArtOfTest.WebAii.Controls.HtmlControls
Assembly: ArtOfTest.WebAii.dll
Syntax
public class HtmlCanvas : HtmlContainerControl
Constructors
HtmlCanvas()
Declaration
public HtmlCanvas()
HtmlCanvas(Element)
Properties
Context2dFillStyle
Declaration
public string Context2dFillStyle { get; set; }
Property Value
System.String
|
Context2dFont
Declaration
public string Context2dFont { get; set; }
Property Value
System.String
|
Context2dGlobalAlpha
Declaration
public double Context2dGlobalAlpha { get; set; }
Property Value
System.Double
|
Context2dGlobalCompositOperation
Declaration
public string Context2dGlobalCompositOperation { get; set; }
Property Value
System.String
|
Context2dLineCap
Declaration
public string Context2dLineCap { get; set; }
Property Value
System.String
|
Context2dLineJoin
Declaration
public string Context2dLineJoin { get; set; }
Property Value
System.String
|
Context2dLineWidth
Declaration
public double Context2dLineWidth { get; set; }
Property Value
System.Double
|
Context2dMiterLimit
Declaration
public double Context2dMiterLimit { get; set; }
Property Value
System.Double
|
Context2dShadowBlur
Declaration
public double Context2dShadowBlur { get; set; }
Property Value
System.Double
|
Context2dShadowColor
Declaration
public string Context2dShadowColor { get; set; }
Property Value
System.String
|
Context2dShadowOffsetX
Declaration
public double Context2dShadowOffsetX { get; set; }
Property Value
System.Double
|
Context2dShadowOffsetY
Declaration
public double Context2dShadowOffsetY { get; set; }
Property Value
System.Double
|
Context2dStrokeStyle
Declaration
public string Context2dStrokeStyle { get; set; }
Property Value
System.String
|
Context2dTextAlign
Declaration
public string Context2dTextAlign { get; set; }
Property Value
System.String
|
Context2dTextBaseline
Declaration
public string Context2dTextBaseline { get; set; }
Property Value
System.String
|
Height
Declaration
public int Height { get; set; }
Property Value
System.Int32
|
Width
Declaration
public int Width { get; set; }
Property Value
System.Int32
|
Methods
AssignElement(Element)
Context2dArc(Double, Double, Double, Double, Double, Boolean)
Declaration
public void Context2dArc(double x, double y, double radius, double startAngle, double endAngle, bool anticlockwise = false)
Parameters
System.Double
x
|
System.Double
y
|
System.Double
radius
|
System.Double
startAngle
|
System.Double
endAngle
|
System.Boolean
anticlockwise
|
Context2dArcTo(Double, Double, Double, Double, Double)
Declaration
public void Context2dArcTo(double x1, double y1, double x2, double y2, double radius)
Parameters
System.Double
x1
|
System.Double
y1
|
System.Double
x2
|
System.Double
y2
|
System.Double
radius
|
Context2dBeginPath()
Declaration
public void Context2dBeginPath()
Context2dBezierCurveTo(Double, Double, Double, Double, Double, Double)
Declaration
public void Context2dBezierCurveTo(double cp1x, double cp1y, double cp2x, double cp2y, double x, double y)
Parameters
System.Double
cp1x
|
System.Double
cp1y
|
System.Double
cp2x
|
System.Double
cp2y
|
System.Double
x
|
System.Double
y
|
Context2dClearRect(Double, Double, Double, Double)
Declaration
public void Context2dClearRect(double x, double y, double w, double h)
Parameters
System.Double
x
|
System.Double
y
|
System.Double
w
|
System.Double
h
|
Context2dClip()
Declaration
public void Context2dClip()
Context2dClosePath()
Declaration
public void Context2dClosePath()
Context2dFill()
Declaration
public void Context2dFill()
Context2dFillRect(Double, Double, Double, Double)
Declaration
public void Context2dFillRect(double x, double y, double w, double h)
Parameters
System.Double
x
|
System.Double
y
|
System.Double
w
|
System.Double
h
|
Context2dFillText(String, Double, Double)
Declaration
public void Context2dFillText(string text, double x, double y)
Parameters
System.String
text
|
System.Double
x
|
System.Double
y
|
Context2dFillText(String, Double, Double, Double)
Declaration
public void Context2dFillText(string text, double x, double y, double maxWidth)
Parameters
System.String
text
|
System.Double
x
|
System.Double
y
|
System.Double
maxWidth
|
Context2dIsPointInPath(Double, Double)
Declaration
public bool Context2dIsPointInPath(double x, double y)
Parameters
System.Double
x
|
System.Double
y
|
Returns
System.Boolean
|
Context2dLineTo(Double, Double)
Declaration
public void Context2dLineTo(double x, double y)
Parameters
System.Double
x
|
System.Double
y
|
Context2dMoveTo(Double, Double)
Declaration
public void Context2dMoveTo(double x, double y)
Parameters
System.Double
x
|
System.Double
y
|
Context2dQuadraticCurveTo(Double, Double, Double, Double)
Declaration
public void Context2dQuadraticCurveTo(double cpx, double cpy, double x, double y)
Parameters
System.Double
cpx
|
System.Double
cpy
|
System.Double
x
|
System.Double
y
|
Context2dRect(Double, Double, Double, Double)
Declaration
public void Context2dRect(double x, double y, double w, double h)
Parameters
System.Double
x
|
System.Double
y
|
System.Double
w
|
System.Double
h
|
Context2dRestore()
Declaration
public void Context2dRestore()
Context2dRotate(Double)
Declaration
public void Context2dRotate(double angle)
Parameters
System.Double
angle
|
Context2dSave()
Declaration
public void Context2dSave()
Context2dScale(Double, Double)
Declaration
public void Context2dScale(double x, double y)
Parameters
System.Double
x
|
System.Double
y
|
Context2dScrollPathIntoView()
Declaration
public void Context2dScrollPathIntoView()
Context2dSetTransform(Double, Double, Double, Double, Double, Double)
Declaration
public void Context2dSetTransform(double a, double b, double c, double d, double e, double f)
Parameters
System.Double
a
|
System.Double
b
|
System.Double
c
|
System.Double
d
|
System.Double
e
|
System.Double
f
|
Context2dStroke()
Declaration
public void Context2dStroke()
Context2dStrokeRect(Double, Double, Double, Double)
Declaration
public void Context2dStrokeRect(double x, double y, double w, double h)
Parameters
System.Double
x
|
System.Double
y
|
System.Double
w
|
System.Double
h
|
Context2dStrokeText(String, Double, Double)
Declaration
public void Context2dStrokeText(string text, double x, double y)
Parameters
System.String
text
|
System.Double
x
|
System.Double
y
|
Context2dStrokeText(String, Double, Double, Double)
Declaration
public void Context2dStrokeText(string text, double x, double y, double maxWidth)
Parameters
System.String
text
|
System.Double
x
|
System.Double
y
|
System.Double
maxWidth
|
Context2dTransform(Double, Double, Double, Double, Double, Double)
Declaration
public void Context2dTransform(double a, double b, double c, double d, double e, double f)
Parameters
System.Double
a
|
System.Double
b
|
System.Double
c
|
System.Double
d
|
System.Double
e
|
System.Double
f
|
Context2dTranslate(Double, Double)
Declaration
public void Context2dTranslate(double x, double y)
Parameters
System.Double
x
|
System.Double
y
|