Aspose.Svg.Drawing The Aspose.Svg.Drawing namespace 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. Viewport Represents a viewport that defines the width and height of a visual area.
Interfaces Interface Description IBitmap Represents a bitmap image. IBrush Declares method for getting of brush type. ICodec Represents a codec for decoding images. 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 an interface for a brush with a linear gradient. IMatrix Represents a matrix used for transformations. IPixelsMap Represents a map of pixel data. 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 fonts.
Enumeration Enumeration Description BrushType Specifies the type of brush. ColorModel This enumeration is used to select the color model for working with color components. ColorSpace Specifies the color space or color model used in a pixel map IPixelsMap
. FillRule Specifies the fill rule used in rendering SVG and HTML. SpreadMode Specifies how a texture or gradient is tiled when it is smaller than the area being filled. StrokeLineCap Specifies the line cap used in rendering SVG and HTML. StrokeLineJoin Specifies the line join style used in rendering SVG and HTML. WebFontStyle Specifies the formatting applied to the text. WebImageFormat Specifies the supported image formats. WebMatrixOrder Specifies the order in which matrix transformations are applied. WebRotateFlipType Specifies the rotation and flip operation to apply to an image.