skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Free Tools
    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
    • Test Studio Trainings
    • Test Studio Consulting
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class HtmlCanvas

Inheritance
System.Object
Control
HtmlControl
HtmlContainerControl
HtmlCanvas
Inherited Members
HtmlContainerControl.TextContent
HtmlContainerControl.InnerText
HtmlControl.FindParentContainer<TContainerControl>()
HtmlControl.ValidateTag(String)
HtmlControl.ValidateControl()
HtmlControl.ParseResponseValue<T>(String, T)
HtmlControl.GetAttributeAsString(String)
HtmlControl.InitializeMappings(MappingsCollection)
HtmlControl.GetRectangle()
HtmlControl.IsVisible()
HtmlControl.GetStyleValue(String)
HtmlControl.GetStyle(String)
HtmlControl.GetComputedStyleValue(String)
HtmlControl.GetComputedStyle(String)
HtmlControl.Parent<TContainerControl>()
HtmlControl.Capture()
HtmlControl.Capture(String, String)
HtmlControl.Capture(String)
HtmlControl.InvokeEvent(ScriptEventType)
HtmlControl.InvokeEvent(ScriptEventType, Boolean)
HtmlControl.InvokeEvent(ScriptEvent)
HtmlControl.InvokeEvent(ScriptEvent, Boolean)
HtmlControl.AddEventListener(String, EventHandler<JavascriptEventArgs>)
HtmlControl.RemoveEventListener(String, EventHandler<JavascriptEventArgs>)
HtmlControl.MouseClick()
HtmlControl.MouseClick(MouseClickType)
HtmlControl.MouseClick(MouseClickType, Int32, Int32)
HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)
HtmlControl.MouseClick(MouseClickType, Int32, Int32, OffsetReference)
HtmlControl.MouseHover()
HtmlControl.MouseHover(Point)
HtmlControl.MouseHover(Int32, Int32)
HtmlControl.MouseHover(Int32, Int32, OffsetReference)
HtmlControl.Click()
HtmlControl.Click(Boolean)
HtmlControl.ScrollToVisible()
HtmlControl.ScrollToVisible(ScrollToVisibleType)
HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)
HtmlControl.Download(Boolean, DownloadOption, String, Int32)
HtmlControl.CallMethod(String)
HtmlControl.CallMethod<T>(String)
HtmlControl.CallMethod<T>(String, T)
HtmlControl.GetValue<T>(String)
HtmlControl.GetValue<T>(String, T)
HtmlControl.GetValue<T>(String, Boolean)
HtmlControl.GetValue<T>(String, Boolean, T)
HtmlControl.SetValue<T>(String, T)
HtmlControl.SetValue<T>(String, T, Boolean)
HtmlControl.Focus()
HtmlControl.DragTo(OffsetReference, Point, Int32, Int32)
HtmlControl.DragTo(OffsetReference, Int32, Int32, Rectangle, OffsetReference, Int32, Int32)
HtmlControl.DragTo(Point)
HtmlControl.DragTo(Int32, Int32)
HtmlControl.DragTo(HtmlControl)
HtmlControl.DragTo(HtmlControl, OffsetReference, Point)
HtmlControl.DragTo(OffsetReference, Point, HtmlControl)
HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)
HtmlControl.DragTo(OffsetReference, Int32, Int32, Boolean, HtmlControl, OffsetReference, Int32, Int32, Boolean)
HtmlControl.DragToWindowLocation(OffsetReference, Int32, Int32, Boolean, OffsetReference, Int32, Int32, Boolean)
HtmlControl.ToString()
HtmlControl.AsjQueryControl()
HtmlControl.GetElementByTagNameClientSideLocator
HtmlControl.GetElementByIdClientSideLocator
HtmlControl.Find
HtmlControl.ClientSideLocator
HtmlControl.ScrollTop
HtmlControl.ScrollLeft
HtmlControl.Wait
HtmlControl.ID
HtmlControl.CssClass
HtmlControl.Attributes
HtmlControl.Mappings
HtmlControl.Styles
HtmlControl.Events
HtmlControl.TagName
HtmlControl.ChildNodes
HtmlControl.IsActiveElement
HtmlControl.IsEnabled
Control.Refresh()
Control.AssignFailed(Exception)
Control.SetTelerikComponentsVersion(Nullable<TelerikComponentsVersion>)
Control.MatchControl(Element, FindParam)
Control.GetFamilyElement(Int32, Element)
Control.ThrowOnInvalidAssignment
Control.TelerikComponentsVersion
Control.IsRefresh
Control.BaseElement
Control.OwnerBrowser
Control.Locator
Control.LocatorExpression
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Controls.HtmlControls
Assembly: ArtOfTest.WebAii.dll

Syntax

public class HtmlCanvas : HtmlContainerControl

Constructors

HtmlCanvas()

Declaration
public HtmlCanvas()

HtmlCanvas(Element)

Declaration
public HtmlCanvas(Element e)
Parameters
Element e

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)

Declaration
public override void AssignElement(Element e)
Parameters
Element e

Overrides
HtmlContainerControl.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

Extension Methods

jQueryExtension.TojQueryControl(HtmlControl)
HtmlControlsAssertExtensions.AssertContent(HtmlControl)
HtmlControlsAssertExtensions.AssertStyle(HtmlControl)
HtmlControlsAssertExtensions.AssertStyle(HtmlControl, Boolean)
HtmlControlsAssertExtensions.AssertAttribute(HtmlControl)
HtmlControlsAssertExtensions.AssertAttribute(HtmlControl, Boolean)
Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.