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

ClassDescription
AngleThe angle data type
ColorThe 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.
DimensionProvides the base class for dimensions. The general term ‘dimension’ refers to a number with a unit attached to it, and are denoted by UnitType.
FrequencyThe ‘frequency’ unit.
LengthRepresents a length measurement unit.
LengthOrAutoRepresents a container for storage length or ‘auto’ units..
MarginRepresents page margin.
NumericProvides the base class for numeric types.
PageRepresents a page object is used for configuration output page. The lacuna value for page size is A4(210x297mm)
ResolutionRepresents a resolution unit.
SizeStores a values which specify a Height and Width.
TimeRepresents a time unit.
UnitProvides the base class for units of measurement.
UnitTypeSpecifies the unit of measurement.
ViewportRepresents a viewport that defines the width and height of a visual area.

Interfaces

InterfaceDescription
IBitmapRepresents a bitmap image.
IBrushDeclares method for getting of brush type.
ICodecRepresents a codec for decoding images.
IColorComponentsDeclares method and properties for processing color components.
IDrawingFactoryRepresents a factory for creating drawing-related objects.
IGradientBrushDeclare methods for getting common properties of gradient brushes.
IInterpolationColorDesclares methods for getting interpolation color.
ILinearGradientBrushDefines an interface for a brush with a linear gradient.
IMatrixRepresents a matrix used for transformations.
IPixelsMapRepresents a map of pixel data.
ISolidBrushDefines brush interface of a single color
ITextureBrushDefines brush interface that uses an image to fill the interior of a shape.
ITransformableBrushDesclares methods for getting transformation matrix and wrap mode.
ITrueTypeFontDeclares methods for working with TrueType fonts.

Enumeration

EnumerationDescription
BrushTypeSpecifies the type of brush.
ColorModelThis enumeration is used to select the color model for working with color components.
ColorSpaceSpecifies the color space or color model used in a pixel map IPixelsMap.
FillRuleSpecifies the fill rule used in rendering SVG and HTML.
SpreadModeSpecifies the spread mode used in rendering SVG and HTML.
StrokeLineCapSpecifies the line cap used in rendering SVG and HTML.
StrokeLineJoinSpecifies the line join style used in rendering SVG and HTML.
SvgMatrixOrderSpecifies the order in which matrix transformations are applied.
WebImageFormatSpecifies the supported image formats.