aspose.html.dom.canvas

The Aspose.Html.Dom.Canvas namespace provides interfaces for 2D rendering details qualification as well as options for filling and Path2D class.

Classes

ClassDescription
ICanvasDrawingStylesThe ICanvasDrawingStyles interface provides methods and properties control how lines are drawn and how text is laid out.
ICanvasGradientRepresents an opaque object describing a gradient.
ICanvasPathMethodsThe ICanvasPathMethods interface is used to manipulate paths of objects.
ICanvasPatternRepresents an opaque object describing a pattern, based on an image, a canvas or a video.
ICanvasRenderingContext2DThe ICanvasRenderingContext2D interface is used for drawing rectangles, text, images and other objects onto the canvas element. It provides the 2D rendering context for the drawing surface of a canvas element.
IImageDataCreates an ImageData object from a given Uint8ClampedArray and the size of the image it contains.
If no array is given, it creates an image of a black rectangle.
ITextMetricsRepresents the dimension of a text in the canvas.
Path2DThe Path2D interface of the Canvas 2D API is used to declare paths that are then later used on CanvasRenderingContext2D objects.
The path methods of the CanvasRenderingContext2D interface are present on this interface as well and are allowing you to create
paths that you can retain and replay as required on a canvas.

Enumerations

EnumerationDescription
CanvasFillRuleThis enumeration is used to select the fill rule algorithm by which to determine if a point is inside or outside a path.