Aspose.Html.Dom.Canvas

Classes

ClassDescription
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.

Interfaces

InterfaceDescription
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.

Enumeration

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