The XGraphics type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| BeginContainer |
Saves a graphics container with the current state of this XGraphics and
opens and uses a new graphics container.
| |
| BeginContainer(Rectangle, Rectangle, XGraphicsUnit) |
Saves a graphics container with the current state of this XGraphics and
opens and uses a new graphics container.
| |
| BeginContainer(RectangleF, RectangleF, XGraphicsUnit) |
Saves a graphics container with the current state of this XGraphics and
opens and uses a new graphics container.
| |
| BeginContainer(XRect, XRect, XGraphicsUnit) |
Saves a graphics container with the current state of this XGraphics and
opens and uses a new graphics container.
| |
| CreateMeasureContext |
Creates the measure context. This is a graphics context created only for querying measures of text.
Drawing on a measure context has no effect.
| |
| Dispose |
Releases all resources used by this object.
| |
| DrawArc(XPen, XRect, Double, Double) |
Draws an arc representing a portion of an ellipse.
| |
| DrawArc(XPen, Rectangle, Double, Double) |
Draws an arc representing a portion of an ellipse.
| |
| DrawArc(XPen, RectangleF, Double, Double) |
Draws an arc representing a portion of an ellipse.
| |
| DrawArc(XPen, Double, Double, Double, Double, Double, Double) |
Draws an arc representing a portion of an ellipse.
| |
| DrawBarCode(BarCode, XPoint) |
Draws the specified bar code.
| |
| DrawBarCode(BarCode, XBrush, XPoint) |
Draws the specified bar code.
| |
| DrawBarCode(BarCode, XBrush, XFont, XPoint) |
Draws the specified bar code.
| |
| DrawBezier(XPen, XPoint, XPoint, XPoint, XPoint) |
Draws a Bézier spline defined by four points.
| |
| DrawBezier(XPen, Point, Point, Point, Point) |
Draws a Bézier spline defined by four points.
| |
| DrawBezier(XPen, PointF, PointF, PointF, PointF) |
Draws a Bézier spline defined by four points.
| |
| DrawBezier(XPen, Double, Double, Double, Double, Double, Double, Double, Double) |
Draws a Bézier spline defined by four points.
| |
| DrawBeziers(XPen, XPoint) |
Draws a series of Bézier splines from an array of points.
| |
| DrawBeziers(XPen, Point) |
Draws a series of Bézier splines from an array of points.
| |
| DrawBeziers(XPen, PointF) |
Draws a series of Bézier splines from an array of points.
| |
| DrawClosedCurve(XBrush, XPoint) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XBrush, Point) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XBrush, PointF) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, XPoint) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, Point) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, PointF) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XBrush, XPoint, XFillMode) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XBrush, Point, XFillMode) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XBrush, PointF, XFillMode) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, XBrush, XPoint) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, XBrush, Point) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, XBrush, PointF) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, XPoint, Double) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, Point, Double) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, PointF, Double) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XBrush, XPoint, XFillMode, Double) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XBrush, Point, XFillMode, Double) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XBrush, PointF, XFillMode, Double) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, XBrush, XPoint, XFillMode) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, XBrush, Point, XFillMode) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, XBrush, PointF, XFillMode) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, XBrush, XPoint, XFillMode, Double) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, XBrush, Point, XFillMode, Double) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawClosedCurve(XPen, XBrush, PointF, XFillMode, Double) |
Draws a closed cardinal spline defined by an array of points.
| |
| DrawCurve(XPen, XPoint) |
Draws a cardinal spline through a specified array of points.
| |
| DrawCurve(XPen, Point) |
Draws a cardinal spline through a specified array of points.
| |
| DrawCurve(XPen, PointF) |
Draws a cardinal spline through a specified array of points.
| |
| DrawCurve(XPen, XPoint, Double) |
Draws a cardinal spline through a specified array of points using a specified tension.
| |
| DrawCurve(XPen, Point, Double) |
Draws a cardinal spline through a specified array of points using a specified tension.
| |
| DrawCurve(XPen, PointF, Double) |
Draws a cardinal spline through a specified array of points using a specified tension.
| |
| DrawCurve(XPen, PointF, Int32, Int32) |
Draws a cardinal spline through a specified array of point. The drawing begins offset from the beginning of the array.
| |
| DrawCurve(XPen, XPoint, Int32, Int32, Double) |
Draws a cardinal spline through a specified array of point using a specified tension.
The drawing begins offset from the beginning of the array.
| |
| DrawCurve(XPen, Point, Int32, Int32, Double) |
Draws a cardinal spline through a specified array of point using a specified tension.
The drawing begins offset from the beginning of the array.
| |
| DrawCurve(XPen, PointF, Int32, Int32, Double) |
Draws a cardinal spline through a specified array of point using a specified tension.
The drawing begins offset from the beginning of the array.
| |
| DrawEllipse(XBrush, XRect) |
Draws an ellipse defined by a bounding rectangle.
| |
| DrawEllipse(XBrush, Rectangle) |
Draws an ellipse defined by a bounding rectangle.
| |
| DrawEllipse(XBrush, RectangleF) |
Draws an ellipse defined by a bounding rectangle.
| |
| DrawEllipse(XPen, XRect) |
Draws an ellipse defined by a bounding rectangle.
| |
| DrawEllipse(XPen, Rectangle) |
Draws an ellipse defined by a bounding rectangle.
| |
| DrawEllipse(XPen, RectangleF) |
Draws an ellipse defined by a bounding rectangle.
| |
| DrawEllipse(XPen, XBrush, XRect) |
Draws an ellipse defined by a bounding rectangle.
| |
| DrawEllipse(XPen, XBrush, Rectangle) |
Draws an ellipse defined by a bounding rectangle.
| |
| DrawEllipse(XPen, XBrush, RectangleF) |
Draws an ellipse defined by a bounding rectangle.
| |
| DrawEllipse(XBrush, Double, Double, Double, Double) |
Draws an ellipse defined by a bounding rectangle.
| |
| DrawEllipse(XPen, Double, Double, Double, Double) |
Draws an ellipse defined by a bounding rectangle.
| |
| DrawEllipse(XPen, XBrush, Double, Double, Double, Double) |
Draws an ellipse defined by a bounding rectangle.
| |
| DrawImage(XImage, XPoint) |
Draws the specified image.
| |
| DrawImage(XImage, XRect) |
Draws the specified image.
| |
| DrawImage(XImage, Point) |
Draws the specified image.
| |
| DrawImage(XImage, PointF) |
Draws the specified image.
| |
| DrawImage(XImage, Rectangle) |
Draws the specified image.
| |
| DrawImage(XImage, RectangleF) |
Draws the specified image.
| |
| DrawImage(XImage, Double, Double) |
Draws the specified image.
| |
| DrawImage(XImage, XRect, XRect, XGraphicsUnit) |
Draws the specified image.
| |
| DrawImage(XImage, Rectangle, Rectangle, XGraphicsUnit) |
Draws the specified image.
| |
| DrawImage(XImage, RectangleF, RectangleF, XGraphicsUnit) |
Draws the specified image.
| |
| DrawImage(XImage, Double, Double, Double, Double) |
Draws the specified image.
| |
| DrawLine(XPen, XPoint, XPoint) |
Draws a line connecting two XPoint structures.
| |
| DrawLine(XPen, Point, Point) |
Draws a line connecting two Point structures.
| |
| DrawLine(XPen, PointF, PointF) |
Draws a line connecting two GdiPointF structures.
| |
| DrawLine(XPen, Double, Double, Double, Double) |
Draws a line connecting the two points specified by coordinate pairs.
| |
| DrawLines(XPen, XPoint) |
Draws a series of line segments that connect an array of points.
| |
| DrawLines(XPen, Point) |
Draws a series of line segments that connect an array of points.
| |
| DrawLines(XPen, PointF) |
Draws a series of line segments that connect an array of points.
| |
| DrawLines(XPen, Double, Double, Double) |
Draws a series of line segments that connect an array of x and y pairs.
| |
| DrawMatrixCode(MatrixCode, XPoint) |
Draws the specified data matrix code.
| |
| DrawMatrixCode(MatrixCode, XBrush, XPoint) |
Draws the specified data matrix code.
| |
| DrawPath(XBrush, XGraphicsPath) |
Draws a graphical path.
| |
| DrawPath(XPen, XGraphicsPath) |
Draws a graphical path.
| |
| DrawPath(XPen, XBrush, XGraphicsPath) |
Draws a graphical path.
| |
| DrawPie(XBrush, XRect, Double, Double) |
Draws a pie defined by an ellipse.
| |
| DrawPie(XBrush, Rectangle, Double, Double) |
Draws a pie defined by an ellipse.
| |
| DrawPie(XBrush, RectangleF, Double, Double) |
Draws a pie defined by an ellipse.
| |
| DrawPie(XPen, XRect, Double, Double) |
Draws a pie defined by an ellipse.
| |
| DrawPie(XPen, Rectangle, Double, Double) |
Draws a pie defined by an ellipse.
| |
| DrawPie(XPen, RectangleF, Double, Double) |
Draws a pie defined by an ellipse.
| |
| DrawPie(XPen, XBrush, XRect, Double, Double) |
Draws a pie defined by an ellipse.
| |
| DrawPie(XPen, XBrush, Rectangle, Double, Double) |
Draws a pie defined by an ellipse.
| |
| DrawPie(XPen, XBrush, RectangleF, Double, Double) |
Draws a pie defined by an ellipse.
| |
| DrawPie(XBrush, Double, Double, Double, Double, Double, Double) |
Draws a pie defined by an ellipse.
| |
| DrawPie(XPen, Double, Double, Double, Double, Double, Double) |
Draws a pie defined by an ellipse.
| |
| DrawPie(XPen, XBrush, Double, Double, Double, Double, Double, Double) |
Draws a pie defined by an ellipse.
| |
| DrawPolygon(XPen, XPoint) |
Draws a polygon defined by an array of points.
| |
| DrawPolygon(XPen, Point) |
Draws a polygon defined by an array of points.
| |
| DrawPolygon(XPen, PointF) |
Draws a polygon defined by an array of points.
| |
| DrawPolygon(XBrush, XPoint, XFillMode) |
Draws a polygon defined by an array of points.
| |
| DrawPolygon(XBrush, Point, XFillMode) |
Draws a polygon defined by an array of points.
| |
| DrawPolygon(XBrush, PointF, XFillMode) |
Draws a polygon defined by an array of points.
| |
| DrawPolygon(XPen, XBrush, XPoint, XFillMode) |
Draws a polygon defined by an array of points.
| |
| DrawPolygon(XPen, XBrush, Point, XFillMode) |
Draws a polygon defined by an array of points.
| |
| DrawPolygon(XPen, XBrush, PointF, XFillMode) |
Draws a polygon defined by an array of points.
| |
| DrawRectangle(XBrush, XRect) |
Draws a rectangle.
| |
| DrawRectangle(XBrush, Rectangle) |
Draws a rectangle.
| |
| DrawRectangle(XBrush, RectangleF) |
Draws a rectangle.
| |
| DrawRectangle(XPen, XRect) |
Draws a rectangle.
| |
| DrawRectangle(XPen, Rectangle) |
Draws a rectangle.
| |
| DrawRectangle(XPen, RectangleF) |
Draws a rectangle.
| |
| DrawRectangle(XPen, XBrush, XRect) |
Draws a rectangle.
| |
| DrawRectangle(XPen, XBrush, Rectangle) |
Draws a rectangle.
| |
| DrawRectangle(XPen, XBrush, RectangleF) |
Draws a rectangle.
| |
| DrawRectangle(XBrush, Double, Double, Double, Double) |
Draws a rectangle.
| |
| DrawRectangle(XPen, Double, Double, Double, Double) |
Draws a rectangle.
| |
| DrawRectangle(XPen, XBrush, Double, Double, Double, Double) |
Draws a rectangle.
| |
| DrawRectangles(XBrush, XRect) |
Draws a series of rectangles.
| |
| DrawRectangles(XBrush, Rectangle) |
Draws a series of rectangles.
| |
| DrawRectangles(XBrush, RectangleF) |
Draws a series of rectangles.
| |
| DrawRectangles(XPen, XRect) |
Draws a series of rectangles.
| |
| DrawRectangles(XPen, Rectangle) |
Draws a series of rectangles.
| |
| DrawRectangles(XPen, RectangleF) |
Draws a series of rectangles.
| |
| DrawRectangles(XPen, XBrush, XRect) |
Draws a series of rectangles.
| |
| DrawRectangles(XPen, XBrush, Rectangle) |
Draws a series of rectangles.
| |
| DrawRectangles(XPen, XBrush, RectangleF) |
Draws a series of rectangles.
| |
| DrawRoundedRectangle(XBrush, XRect, XSize) |
Draws a rectangles with round corners.
| |
| DrawRoundedRectangle(XBrush, Rectangle, Size) |
Draws a rectangles with round corners.
| |
| DrawRoundedRectangle(XBrush, RectangleF, SizeF) |
Draws a rectangles with round corners.
| |
| DrawRoundedRectangle(XPen, XRect, XSize) |
Draws a rectangles with round corners.
| |
| DrawRoundedRectangle(XPen, Rectangle, Size) |
Draws a rectangles with round corners.
| |
| DrawRoundedRectangle(XPen, RectangleF, SizeF) |
Draws a rectangles with round corners.
| |
| DrawRoundedRectangle(XPen, XBrush, XRect, XSize) |
Draws a rectangles with round corners.
| |
| DrawRoundedRectangle(XPen, XBrush, Rectangle, Size) |
Draws a rectangles with round corners.
| |
| DrawRoundedRectangle(XPen, XBrush, RectangleF, SizeF) |
Draws a rectangles with round corners.
| |
| DrawRoundedRectangle(XBrush, Double, Double, Double, Double, Double, Double) |
Draws a rectangles with round corners.
| |
| DrawRoundedRectangle(XPen, Double, Double, Double, Double, Double, Double) |
Draws a rectangles with round corners.
| |
| DrawRoundedRectangle(XPen, XBrush, Double, Double, Double, Double, Double, Double) |
Draws a rectangles with round corners.
| |
| DrawString(String, XFont, XBrush, XPoint) |
Draws the specified text string.
| |
| DrawString(String, XFont, XBrush, XRect) |
Draws the specified text string.
| |
| DrawString(String, XFont, XBrush, PointF) |
Draws the specified text string.
| |
| DrawString(String, XFont, XBrush, RectangleF) |
Draws the specified text string.
| |
| DrawString(String, XFont, XBrush, XPoint, XStringFormat) |
Draws the specified text string.
| |
| DrawString(String, XFont, XBrush, XRect, XStringFormat) |
Draws the specified text string.
| |
| DrawString(String, XFont, XBrush, Double, Double) |
Draws the specified text string.
| |
| DrawString(String, XFont, XBrush, PointF, XStringFormat) |
Draws the specified text string.
| |
| DrawString(String, XFont, XBrush, RectangleF, XStringFormat) |
Draws the specified text string.
| |
| DrawString(String, XFont, XBrush, Double, Double, XStringFormat) |
Draws the specified text string.
| |
| EndContainer |
Closes the current graphics container and restores the state of this XGraphics
to the state saved by a call to the BeginContainer method.
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| FromForm |
Creates a new instance of the XGraphics class from a PdfEdit.Drawing.XForm object.
| |
| FromGraphics(Graphics, XSize) |
Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.
| |
| FromGraphics(Graphics, XSize, XGraphicsUnit) |
Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.
| |
| FromImage(XImage) |
Creates a new instance of the XGraphics class from a PdfEdit.Drawing.XForm object.
| |
| FromImage(XImage, XGraphicsUnit) |
Creates a new instance of the XGraphics class from a PdfEdit.Drawing.XImage object.
| |
| FromPdfForm |
Creates a new instance of the XGraphics class from a PdfEdit.Drawing.XPdfForm object.
| |
| FromPdfPage(PdfPage) |
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
| |
| FromPdfPage(PdfPage, XGraphicsPdfPageOptions) |
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
| |
| FromPdfPage(PdfPage, XGraphicsUnit) |
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
| |
| FromPdfPage(PdfPage, XPageDirection) |
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
| |
| FromPdfPage(PdfPage, XGraphicsPdfPageOptions, XGraphicsUnit) |
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
| |
| FromPdfPage(PdfPage, XGraphicsPdfPageOptions, XPageDirection) |
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
| |
| FromPdfPage(PdfPage, XGraphicsPdfPageOptions, XGraphicsUnit, XPageDirection) |
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IntersectClip(Rectangle) |
Updates the clip region of this XGraphics to the intersection of the
current clip region and the specified rectangle.
| |
| IntersectClip(RectangleF) |
Updates the clip region of this XGraphics to the intersection of the
current clip region and the specified rectangle.
| |
| IntersectClip(XGraphicsPath) |
Updates the clip region of this XGraphics to the intersection of the
current clip region and the specified graphical path.
| |
| IntersectClip(XRect) |
Updates the clip region of this XGraphics to the intersection of the
current clip region and the specified rectangle.
| |
| MeasureString(String, XFont) |
Measures the specified string when drawn with the specified font.
| |
| MeasureString(String, XFont, XStringFormat) |
Measures the specified string when drawn with the specified font.
| |
| MultiplyTransform(XMatrix) |
Multiplies the transformation matrix of this object and specified matrix.
| |
| MultiplyTransform(XMatrix, XMatrixOrder) |
Multiplies the transformation matrix of this object and specified matrix in the specified order.
| |
| Restore |
Restores the state of this XGraphics object to the state before the most recently call of Save.
| |
| Restore(XGraphicsState) |
Restores the state of this XGraphics object to the state represented by the specified
XGraphicsState object.
| |
| RotateAtTransform(Double, XPoint) |
Applies the specified rotation operation to the transformation matrix of this object by
prepending it to the object's transformation matrix.
| |
| RotateAtTransform(Double, XPoint, XMatrixOrder) |
Applies the specified rotation operation to the transformation matrix of this object by
prepending it to the object's transformation matrix.
| |
| RotateTransform(Double) |
Applies the specified rotation operation to the transformation matrix of this object by
prepending it to the object's transformation matrix.
| |
| RotateTransform(Double, XMatrixOrder) |
Applies the specified rotation operation to the transformation matrix of this object
in the specified order. The angle unit of measure is degree.
| |
| Save |
Saves the current state of this XGraphics object and identifies the saved state with the
returned XGraphicsState object.
| |
| ScaleAtTransform(Double, Double, XPoint) |
Applies the specified scaling operation to the transformation matrix of this object by
prepending it to the object's transformation matrix.
| |
| ScaleAtTransform(Double, Double, Double, Double) |
Applies the specified scaling operation to the transformation matrix of this object by
prepending it to the object's transformation matrix.
| |
| ScaleTransform(Double) |
Applies the specified scaling operation to the transformation matrix of this object by
prepending it to the object's transformation matrix.
| |
| ScaleTransform(Double, XMatrixOrder) |
Applies the specified scaling operation to the transformation matrix of this object
in the specified order.
| |
| ScaleTransform(Double, Double) |
Applies the specified scaling operation to the transformation matrix of this object by
prepending it to the object's transformation matrix.
| |
| ScaleTransform(Double, Double, XMatrixOrder) |
Applies the specified scaling operation to the transformation matrix of this object
in the specified order.
| |
| ShearTransform(Double, Double) |
Applies the specified shearing operation to the transformation matrix of this object by
prepending it to the object's transformation matrix.
ShearTransform is a synonym for SkewAtTransform.
Parameter shearX specifies the horizontal skew which is measured in degrees counterclockwise from the y-axis.
Parameter shearY specifies the vertical skew which is measured in degrees counterclockwise from the x-axis.
| |
| ShearTransform(Double, Double, XMatrixOrder) |
Applies the specified shearing operation to the transformation matrix of this object
in the specified order.
ShearTransform is a synonym for SkewAtTransform.
Parameter shearX specifies the horizontal skew which is measured in degrees counterclockwise from the y-axis.
Parameter shearY specifies the vertical skew which is measured in degrees counterclockwise from the x-axis.
| |
| SkewAtTransform(Double, Double, XPoint) |
Applies the specified shearing operation to the transformation matrix of this object by
prepending it to the object's transformation matrix.
ShearTransform is a synonym for SkewAtTransform.
Parameter shearX specifies the horizontal skew which is measured in degrees counterclockwise from the y-axis.
Parameter shearY specifies the vertical skew which is measured in degrees counterclockwise from the x-axis.
| |
| SkewAtTransform(Double, Double, Double, Double) |
Applies the specified shearing operation to the transformation matrix of this object by
prepending it to the object's transformation matrix.
ShearTransform is a synonym for SkewAtTransform.
Parameter shearX specifies the horizontal skew which is measured in degrees counterclockwise from the y-axis.
Parameter shearY specifies the vertical skew which is measured in degrees counterclockwise from the x-axis.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
| TranslateTransform(Double, Double) |
Applies the specified translation operation to the transformation matrix of this object by
prepending it to the object's transformation matrix.
| |
| TranslateTransform(Double, Double, XMatrixOrder) |
Applies the specified translation operation to the transformation matrix of this object
in the specified order.
| |
| WriteComment |
Writes a comment to the output stream. Comments have no effect on the rendering of the output.
They may be useful to mark a position in a content stream of a PDF document.
|
See Also