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
Class | Description |
---|---|
ICanvasDrawingStyles | The ICanvasDrawingStyles interface provides methods and properties control how lines are drawn and how text is laid out. |
ICanvasGradient | Represents an opaque object describing a gradient. |
ICanvasPathMethods | The ICanvasPathMethods interface is used to manipulate paths of objects. |
ICanvasPattern | Represents an opaque object describing a pattern, based on an image, a canvas or a video. |
ICanvasRenderingContext2D | The 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. |
IImageData | Creates 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. |
ITextMetrics | Represents the dimension of a text in the canvas. |
Path2D | The 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
Enumeration | Description |
---|---|
CanvasFillRule | This enumeration is used to select the fill rule algorithm by which to determine if a point is inside or outside a path. |