VectSharp
2.2.1
A light library for C# vector graphics
|
Classes | |
class | Brush |
Represents a brush used to fill or stroke graphics elements. This could be a solid colour, or a more complicated gradient or pattern. More... | |
struct | Colour |
Represents an RGB colour. More... | |
class | Colours |
Standard colours. More... | |
class | DefaultFontLibrary |
A default font library that resolves standard families using the embedded fonts. More... | |
class | DisposableIntPtr |
An IDisposable wrapper around an IntPtr that frees the allocated memory when it is disposed. More... | |
class | Document |
Represents a collection of pages. More... | |
class | Font |
Represents a typeface with a specific size. More... | |
class | FontFamily |
Represents a typeface. More... | |
class | FontFamilyCreationException |
An exception that occurs while creating a FontFamily. More... | |
class | FontLibrary |
Abstract class with a default implementation of font family fallbacks. More... | |
class | FormattedText |
Represents a run of text that should be drawn with the same style. More... | |
class | FormattedTextExtensions |
Contains extension methods for collections of FormattedText objects. More... | |
class | GradientBrush |
Represents a brush painting with a gradient. More... | |
struct | GradientStop |
Represents a colour stop in a gradient. More... | |
class | GradientStops |
Represents a read-only list of GradientStops. More... | |
class | Graphics |
Represents an abstract drawing surface. More... | |
class | GraphicsPath |
Represents a graphics path that can be filled or stroked. More... | |
interface | IFontLibrary |
Represents a font library with methods to create FontFamily objects from a string or from FontFamily.StandardFontFamilies. More... | |
interface | IGraphicsContext |
This interface should be implemented by classes intended to provide graphics output capability to a Graphics object. More... | |
class | LinearGradientBrush |
Represents a brush painting with a linear gradient. More... | |
struct | LineDash |
Represents instructions on how to paint a dashed line. More... | |
class | Page |
Represents a Graphics object with a width and height. More... | |
struct | Point |
Represents a point relative to an origin in the top-left corner. More... | |
class | RadialGradientBrush |
Represents a brush painting with a radial gradient. More... | |
class | RasterImage |
Represents a raster image, created from raw pixel data. Consider using the derived classes included in the NuGet package "VectSharp.MuPDFUtils" if you need to load a raster image from a file or a Stream. More... | |
struct | Rectangle |
Represents a rectangle. More... | |
class | ResourceFontFamily |
Represents a FontFamily created from a resource stream. More... | |
class | Segment |
Represents a segment as part of a GraphicsPath. More... | |
class | SimpleFontLibrary |
A font library that can be used to cache and resolve font family names. More... | |
struct | Size |
Represents the size of an object. More... | |
class | SolidColourBrush |
Represents a brush painting with a single solid colour. More... | |
class | TrueTypeFile |
Represents a font file in TrueType format. Reference: http://stevehanov.ca/blog/?id=143, https://developer.apple.com/fonts/TrueType-Reference-Manual/, https://docs.microsoft.com/en-us/typography/opentype/spec/ More... | |
class | UnbalancedStackException |
The exception that is thrown when an unbalanced graphics state stack occurs. More... | |
|
strong |
|
strong |
|
strong |
Represents the pixel format of a raster image.
Enumerator | |
---|---|
RGB | RGB 24bpp format. |
RGBA | RGBA 32bpp format. |
BGR | BGR 24bpp format. |
BGRA | BGR 32bpp format. |
Definition at line 27 of file RasterImage.cs.
|
strong |
Represents the position of the text.
Enumerator | |
---|---|
Normal | The text is normal text. |
Superscript | The text is a superscript. |
Subscript | The text is a subscript. |
Definition at line 29 of file FormattedText.cs.
|
strong |
Types of Segment.
|
strong |
Represents text anchors.
|
strong |
Represent text baselines.
|
strong |
Represents ways to deal with unbalanced graphics state stacks.
Enumerator | |
---|---|
Throw | If the graphics state stack is unbalanced, an exception will be thrown. |
SilentlyFix | The graphics state stack will be automatically balanced by adding or removing calls to Graphics.Restore as necessary. |
Ignore | No attempt will be made at correcting an unbalanced graphics state stack. This may cause issues with some consumers. |