com.aspose.html.drawing
The com.aspose.html.drawing package contains objects and interfaces to specify measurement and units as well as drawing attribute objects like brushes, colors and fonts.
Classes
| Class | Description |
|---|
| Angle | The angle data type |
| Color | The Color class lets you specify colors as Red-Green-Blue (RGB) values, Hue-Saturation-Luminosity (HSL) values, Hue-Saturation-Value (HSV) values, Hue-Whiteness-Blackness (HWB) values, lightness-A-B (LAB) values, Luminance-Chroma-Hue (LCH) values, Cyan-Magenta-Yellow-Key (CMYK) values, Natural colors (NCOL) values, or with a color name. An Alpha channel is also available to indicate transparency. |
| Dimension | Provides the base class for dimensions. The general term ‘dimension’ refers to a number with a unit attached to it, and are denoted by UnitType. |
| Frequency | The ‘frequency’ unit. |
| Length | Represents a length measurement unit. |
| LengthOrAuto | Represents a container for storage length or ‘auto’ units.. |
| Margin | Represents page margin. |
| Numeric | Provides the base class for numeric types. |
| Page | Represents a page object is used for configuration output page. The lacuna value for page size is A4(210x297mm) |
| Resolution | Represents a resolution unit. |
| Size | Stores a values which specify a Height and Width. |
| Time | Represents a time unit. |
| Unit | Provides the base class for units of measurement. |
| UnitType | Specifies the unit of measurement. |
Interfaces
| Interface | Description |
|---|
| IBrush | Declares method for getting of brush type. |
| IColorComponents | Declares method and properties for processing color components. |
| IDrawingFactory | Represents a factory for creating drawing-related objects. |
| IGradientBrush | Declare methods for getting common properties of gradient brushes. |
| IInterpolationColor | Desclares methods for getting interpolation color. |
| ILinearGradientBrush | Defines brush interface with a linear gradient. |
| IMatrix | Represents a matrix used for transformations. |
| ISolidBrush | Defines brush interface of a single color |
| ITextureBrush | Defines brush interface that uses an image to fill the interior of a shape. |
| ITransformableBrush | Desclares methods for getting transformation matrix and wrap mode. |
| ITrueTypeFont | Declares methods for working with TrueType font. |
Enumeration
| Enumeration | Description |
|---|
| BrushType | Specifies the type of brush. |
| ColorModel | This enumeration is used to select the color model for working with color components. |
| SpreadMode | Specifies how a texture or gradient is tiled when it is smaller than the area being filled. |
| WebFontStyle | Specifies the formatting applied to the text. |
| WebImageFormat | Specifies the supported image formats. |
| WebMatrixOrder | Specifies the order in which matrix transformations are applied. |