Namespace PdfSharp.Drawing
Classes
- XBitmapDecoder
Provides functionality to load a bitmap image encoded in a specific format.
- XBitmapEncoder
Provides functionality to save a bitmap image in a specific format.
- XBitmapImage
Defines a pixel-based bitmap image.
- XBitmapSource
Defines an abstract base class for pixel-based images.
- XBrush
Classes derived from this abstract base class define objects used to fill the interiors of paths.
- XBrushes
Brushes for all the pre-defined colors.
- XColorResourceManager
Manages the localization of the color class.
- XColors
Represents a set of 141 pre-defined RGB colors. Incidentally the values are the same as in System.Drawing.Color.
- XFont
Defines an object used to draw text.
- XFontFamily
Defines a group of typefaces having a similar basic design and certain variations in styles.
- XFontMetrics
Collects information of a physical font face.
- XFontSource
The bytes of a font file.
- XFontStretches
Provides a set of static predefined System.Windows.XFontStretch values.
- XFontStyles
Provides a set of static predefined font style /> values.
- XFontWeights
Defines a set of static predefined XFontWeight values.
- XForm
Represents a graphical object that can be used to render retained graphics on it. In GDI+ it is represented by a Metafile, in WPF by a DrawingVisual, and in PDF by a Form XObjects.
- XGlyphTypeface
Specifies a physical font face that corresponds to a font file on the disk or in memory.
- XGradientBrush
Defines a Brush with a linear gradient.
- XGraphics
Represents a drawing surface for a fixed size page.
- XGraphics.SpaceTransformer
(This class is under construction.) Currently used in MigraDoc only.
- XGraphics.XGraphicsInternals
Provides access to internal data structures of the XGraphics class.
- XGraphicsContainer
Represents the internal state of an XGraphics object.
- XGraphicsPath
Represents a series of connected lines and curves.
- XGraphicsPathInternals
Provides access to the internal data structures of XGraphicsPath. This class prevents the public interface from pollution with internal functions.
- XGraphicsState
Represents the internal state of an XGraphics object. This class is used as a handle for restoring the context.
- XImage
Defines an object used to draw image files (bmp, png, jpeg, gif) and PDF forms. An abstract base class that provides functionality for the Bitmap and Metafile descended classes.
- XImageFormat
Specifies the format of the image.
- XLinearGradientBrush
Defines a Brush with a linear gradient.
- XPdfFontOptions
Specifies details about how the font is used in PDF creation.
- XPdfForm
Represents a so called 'PDF form external object', which is typically an imported page of an external PDF document. XPdfForm objects are used like images to draw an existing PDF page of an external document in the current document. XPdfForm objects can only be placed in PDF documents. If you try to draw them using a XGraphics based on an GDI+ context no action is taken if no placeholder image is specified. Otherwise, the place holder is drawn.
- XPen
Defines an object used to draw lines and curves.
- XPens
Pens for all the pre-defined colors.
- XPrivateFontCollection
This class is out of order. Use a font resolver instead.
- XRadialGradientBrush
Defines a Brush with a radial gradient.
- XSolidBrush
Defines a single-color object used to fill shapes and draw text.
- XStringFormat
Represents the text layout information.
- XStringFormats
Represents predefined text layouts.
- XTypeface
Represents a combination of XFontFamily, XFontWeight, XFontStyleEx, and XFontStretch.
Structs
- XColor
Represents an RGB, CMYK, or gray scale color.
- XFontStretch
Describes the degree to which a font has been stretched compared to the normal aspect ratio of that font.
- XFontStyle
Defines a structure that represents the style of a font face as normal, italic, or oblique. Note that this struct is new since PDFsharp 6.0. XFontStyle from prior version of PDFsharp is renamed to XFontStyleEx.
- XFontWeight
Defines the density of a typeface, in terms of the lightness or heaviness of the strokes.
- XMatrix
Represents a 3-by-3 matrix that represents an affine 2D transformation.
- XPoint
Represents a pair of floating-point x- and y-coordinates that defines a point in a two-dimensional plane.
- XRect
Stores a set of four floating-point numbers that represent the location and size of a rectangle.
- XSize
Represents a pair of floating-point numbers, typically the width and height of a graphical object.
- XUnit
Represents a value and its unit of measure.
- XUnitPt
Represents a value with a unit of measure in point (1/72 inch). The structure converts implicitly from and to double.
- XVector
Represents a two-dimensional vector specified by x- and y-coordinates. It is a displacement in 2-D space.
Enums
- XColorSpace
Currently not used. Only DeviceRGB is rendered in PDF.
- XCombineMode
Specifies how different clipping regions can be combined.
- XDashStyle
Specifies the style of dashed lines drawn with an XPen object.
- XFillMode
Specifies how the interior of a closed path is filled.
- XFontStyleEx
Specifies style information applied to text. Note that this enum was named XFontStyle in PDFsharp versions prior to 6.0.
- XGraphicsPdfPageOptions
Specifies how the content of an existing PDF page and new content is combined.
- XGraphicsUnit
Specifies the unit of measure.
- XKnownColor
Specifies all pre-defined colors. Used to identify the pre-defined colors and to localize their names.
- XLineAlignment
Specifies the alignment of a text string relative to its layout rectangle.
- XLineCap
Specifies the available cap styles with which an XPen object can start and end a line.
- XLineJoin
Specifies how to join consecutive line or curve segments in a figure or subpath.
- XLinearGradientMode
Specifies the direction of a linear gradient.
- XMatrixOrder
Specifies the order for matrix transform operations.
- XPageDirection
Specifies the direction of the y-axis.
- XSmoothingMode
Specifies whether smoothing (or anti-aliasing) is applied to lines and curves and the edges of filled areas.
- XStringAlignment
Specifies the alignment of a text string relative to its layout rectangle.
- XStyleSimulations
Describes the simulation style of a font.
- XSweepDirection
Defines the direction an elliptical arc is drawn.