ImageDevice Class
Contents
[
Hide
]ImageDevice class
Represents rendering to raster formats: jpeg, png, bmp, gif, tiff.
public class ImageDevice : Device<ImageGraphicContext, ImageRenderingOptions>
Constructors
| Name | Description |
|---|---|
| ImageDevice(ICreateStreamProvider) | Initializes a new instance of the ImageDevice class. |
| ImageDevice(Stream) | Initializes a new instance of the ImageDevice class. |
| ImageDevice(String) | Initializes a new instance of the ImageDevice class. |
| ImageDevice(ImageRenderingOptions, ICreateStreamProvider) | Initializes a new instance of the ImageDevice class by rendering options and stream provider. |
| ImageDevice(ImageRenderingOptions, Stream) | Initializes a new instance of the ImageDevice class by rendering options and output stream. |
| ImageDevice(ImageRenderingOptions, String) | Initializes a new instance of the ImageDevice class by rendering options and output file name. |
Properties
| Name | Description |
|---|---|
| getGraphicContext | |
| getOptions |
Methods
| Name | Description |
|---|---|
| addRect(RectangleF) | |
| beginDocument(Document) | |
| beginElement(Element, RectangleF) | |
| beginPage(SizeF) | |
| clip(FillRule) | |
| closePath() | |
| cubicBezierTo(PointF, PointF, PointF) | |
| dispose() | |
| drawImage(byte[], WebImageFormat, RectangleF) | |
| endDocument() | |
| endElement(Element) | |
| endPage() | |
| fill(FillRule) | |
| fillText(String, PointF) | |
| flush() | |
| lineTo(PointF) | |
| moveTo(PointF) | |
| restoreGraphicContext() | |
| saveGraphicContext() | |
| stroke() | |
| strokeAndFill(FillRule) | |
| strokeText(String, PointF) |
Other Members
| Name | Description |
|---|---|
| class ImageGraphicContext | Holds current graphics control parameters for the ImageDevice. These parameters define the global framework within which the graphics operators execute. |
See Also
- class ImageGraphicContext
- class Device<TGraphicContext,TRenderingOptions>
- class ImageRenderingOptions
- package com.aspose.html.rendering.image
- package Aspose.HTML