PdfSharp-WPF
1.31.7289
|
Represents a series of connected lines and curves. More...
Public Member Functions | |
XGraphicsPath () | |
Initializes a new instance of the XGraphicsPath class. More... | |
XGraphicsPath | Clone () |
Clones this instance. More... | |
void | AddLine (System.Windows.Point pt1, System.Windows.Point pt2) |
Adds a line segment to current figure. More... | |
void | AddLine (XPoint pt1, XPoint pt2) |
Adds a line segment to current figure. More... | |
void | AddLine (int x1, int y1, int x2, int y2) |
Adds a line segment to current figure. More... | |
void | AddLine (double x1, double y1, double x2, double y2) |
Adds a line segment to current figure. More... | |
void | AddLines (System.Windows.Point[] points) |
Adds a series of connected line segments to current figure. More... | |
void | AddLines (XPoint[] points) |
Adds a series of connected line segments to current figure. More... | |
void | AddBezier (System.Windows.Point pt1, System.Windows.Point pt2, System.Windows.Point pt3, System.Windows.Point pt4) |
Adds a cubic Bézier curve to the current figure. More... | |
void | AddBezier (XPoint pt1, XPoint pt2, XPoint pt3, XPoint pt4) |
Adds a cubic Bézier curve to the current figure. More... | |
void | AddBezier (int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4) |
Adds a cubic Bézier curve to the current figure. More... | |
void | AddBezier (double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4) |
Adds a cubic Bézier curve to the current figure. More... | |
void | AddBeziers (System.Windows.Point[] points) |
Adds a sequence of connected cubic Bézier curves to the current figure. More... | |
void | AddBeziers (XPoint[] points) |
Adds a sequence of connected cubic Bézier curves to the current figure. More... | |
void | AddCurve (System.Windows.Point[] points) |
Adds a spline curve to the current figure. More... | |
void | AddCurve (XPoint[] points) |
Adds a spline curve to the current figure. More... | |
void | AddCurve (System.Windows.Point[] points, double tension) |
Adds a spline curve to the current figure. More... | |
void | AddCurve (XPoint[] points, double tension) |
Adds a spline curve to the current figure. More... | |
void | AddCurve (System.Windows.Point[] points, int offset, int numberOfSegments, float tension) |
Adds a spline curve to the current figure. More... | |
void | AddCurve (XPoint[] points, int offset, int numberOfSegments, double tension) |
Adds a spline curve to the current figure. More... | |
void | AddArc (XRect rect, double startAngle, double sweepAngle) |
Adds an elliptical arc to the current figure. More... | |
void | AddArc (int x, int y, int width, int height, int startAngle, int sweepAngle) |
Adds an elliptical arc to the current figure. More... | |
void | AddArc (double x, double y, double width, double height, double startAngle, double sweepAngle) |
Adds an elliptical arc to the current figure. More... | |
void | AddArc (XPoint point1, XPoint point2, XSize size, double rotationAngle, bool isLargeArg, SweepDirection sweepDirection) |
Adds an elliptical arc to the current figure. The arc is specified WPF like. More... | |
void | AddRectangle (XRect rect) |
Adds a rectangle to this path. More... | |
void | AddRectangle (int x, int y, int width, int height) |
Adds a rectangle to this path. More... | |
void | AddRectangle (double x, double y, double width, double height) |
Adds a rectangle to this path. More... | |
void | AddRectangles (XRect[] rects) |
Adds a series of rectangles to this path. More... | |
void | AddRoundedRectangle (Rect rect, System.Windows.Size ellipseSize) |
Adds a rectangle with rounded corners to this path. More... | |
void | AddRoundedRectangle (int x, int y, int width, int height, int ellipseWidth, int ellipseHeight) |
Adds a rectangle with rounded corners to this path. More... | |
void | AddRoundedRectangle (double x, double y, double width, double height, double ellipseWidth, double ellipseHeight) |
Adds a rectangle with rounded corners to this path. More... | |
void | AddEllipse (XRect rect) |
Adds an ellipse to the current path. More... | |
void | AddEllipse (int x, int y, int width, int height) |
Adds an ellipse to the current path. More... | |
void | AddEllipse (double x, double y, double width, double height) |
Adds an ellipse to the current path. More... | |
void | AddPolygon (System.Windows.Point[] points) |
Adds a polygon to this path. More... | |
void | AddPolygon (XPoint[] points) |
Adds a polygon to this path. More... | |
void | AddPie (XRect rect, double startAngle, double sweepAngle) |
Adds the outline of a pie shape to this path. More... | |
void | AddPie (int x, int y, int width, int height, double startAngle, double sweepAngle) |
Adds the outline of a pie shape to this path. More... | |
void | AddPie (double x, double y, double width, double height, double startAngle, double sweepAngle) |
Adds the outline of a pie shape to this path. More... | |
void | AddClosedCurve (System.Windows.Point[] points) |
Adds a closed curve to this path. More... | |
void | AddClosedCurve (XPoint[] points) |
Adds a closed curve to this path. More... | |
void | AddClosedCurve (System.Windows.Point[] points, double tension) |
Adds a closed curve to this path. More... | |
void | AddClosedCurve (XPoint[] points, double tension) |
Adds a closed curve to this path. More... | |
void | AddPath (XGraphicsPath path, bool connect) |
Adds the specified path to this path. More... | |
void | AddString (string s, XFontFamily family, XFontStyle style, double emSize, System.Windows.Point origin, XStringFormat format) |
Adds a text string to this path. More... | |
void | AddString (string s, XFontFamily family, XFontStyle style, double emSize, XPoint origin, XStringFormat format) |
Adds a text string to this path. More... | |
void | AddString (string s, XFontFamily family, XFontStyle style, double emSize, Rect rect, XStringFormat format) |
Adds a text string to this path. More... | |
void | AddString (string s, XFontFamily family, XFontStyle style, double emSize, XRect layoutRect, XStringFormat format) |
Adds a text string to this path. More... | |
void | CloseFigure () |
Closes the current figure and starts a new figure. More... | |
void | StartFigure () |
Starts a new figure without closing the current figure. More... | |
void | Flatten () |
Converts each curve in this XGraphicsPath into a sequence of connected line segments. More... | |
void | Flatten (XMatrix matrix) |
Converts each curve in this XGraphicsPath into a sequence of connected line segments. More... | |
void | Flatten (XMatrix matrix, double flatness) |
Converts each curve in this XGraphicsPath into a sequence of connected line segments. More... | |
void | Widen (XPen pen) |
Replaces this path with curves that enclose the area that is filled when this path is drawn by the specified pen. More... | |
void | Widen (XPen pen, XMatrix matrix) |
Replaces this path with curves that enclose the area that is filled when this path is drawn by the specified pen. More... | |
void | Widen (XPen pen, XMatrix matrix, double flatness) |
Replaces this path with curves that enclose the area that is filled when this path is drawn by the specified pen. More... | |
Properties | |
XFillMode? | FillMode [get, set] |
Gets or sets an XFillMode that determines how the interiors of shapes are filled. More... | |
XGraphicsPathInternals | Internals [get] |
Grants access to internal objects of this class. More... | |
Represents a series of connected lines and curves.
PdfSharp.Drawing.XGraphicsPath.XGraphicsPath | ( | ) |
Initializes a new instance of the XGraphicsPath class.
void PdfSharp.Drawing.XGraphicsPath.AddArc | ( | double | x, |
double | y, | ||
double | width, | ||
double | height, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Adds an elliptical arc to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddArc | ( | int | x, |
int | y, | ||
int | width, | ||
int | height, | ||
int | startAngle, | ||
int | sweepAngle | ||
) |
Adds an elliptical arc to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddArc | ( | XPoint | point1, |
XPoint | point2, | ||
XSize | size, | ||
double | rotationAngle, | ||
bool | isLargeArg, | ||
SweepDirection | sweepDirection | ||
) |
Adds an elliptical arc to the current figure. The arc is specified WPF like.
void PdfSharp.Drawing.XGraphicsPath.AddArc | ( | XRect | rect, |
double | startAngle, | ||
double | sweepAngle | ||
) |
Adds an elliptical arc to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddBezier | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2, | ||
double | x3, | ||
double | y3, | ||
double | x4, | ||
double | y4 | ||
) |
Adds a cubic Bézier curve to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddBezier | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
int | x3, | ||
int | y3, | ||
int | x4, | ||
int | y4 | ||
) |
Adds a cubic Bézier curve to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddBezier | ( | System.Windows.Point | pt1, |
System.Windows.Point | pt2, | ||
System.Windows.Point | pt3, | ||
System.Windows.Point | pt4 | ||
) |
Adds a cubic Bézier curve to the current figure.
Adds a cubic Bézier curve to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddBeziers | ( | System.Windows.Point[] | points | ) |
Adds a sequence of connected cubic Bézier curves to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddBeziers | ( | XPoint[] | points | ) |
Adds a sequence of connected cubic Bézier curves to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddClosedCurve | ( | System.Windows.Point[] | points | ) |
Adds a closed curve to this path.
void PdfSharp.Drawing.XGraphicsPath.AddClosedCurve | ( | System.Windows.Point[] | points, |
double | tension | ||
) |
Adds a closed curve to this path.
void PdfSharp.Drawing.XGraphicsPath.AddClosedCurve | ( | XPoint[] | points | ) |
Adds a closed curve to this path.
void PdfSharp.Drawing.XGraphicsPath.AddClosedCurve | ( | XPoint[] | points, |
double | tension | ||
) |
Adds a closed curve to this path.
void PdfSharp.Drawing.XGraphicsPath.AddCurve | ( | System.Windows.Point[] | points | ) |
Adds a spline curve to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddCurve | ( | System.Windows.Point[] | points, |
double | tension | ||
) |
Adds a spline curve to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddCurve | ( | System.Windows.Point[] | points, |
int | offset, | ||
int | numberOfSegments, | ||
float | tension | ||
) |
Adds a spline curve to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddCurve | ( | XPoint[] | points | ) |
Adds a spline curve to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddCurve | ( | XPoint[] | points, |
double | tension | ||
) |
Adds a spline curve to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddCurve | ( | XPoint[] | points, |
int | offset, | ||
int | numberOfSegments, | ||
double | tension | ||
) |
Adds a spline curve to the current figure.
void PdfSharp.Drawing.XGraphicsPath.AddEllipse | ( | double | x, |
double | y, | ||
double | width, | ||
double | height | ||
) |
Adds an ellipse to the current path.
void PdfSharp.Drawing.XGraphicsPath.AddEllipse | ( | int | x, |
int | y, | ||
int | width, | ||
int | height | ||
) |
Adds an ellipse to the current path.
void PdfSharp.Drawing.XGraphicsPath.AddEllipse | ( | XRect | rect | ) |
Adds an ellipse to the current path.
void PdfSharp.Drawing.XGraphicsPath.AddLine | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
Adds a line segment to current figure.
void PdfSharp.Drawing.XGraphicsPath.AddLine | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
Adds a line segment to current figure.
void PdfSharp.Drawing.XGraphicsPath.AddLine | ( | System.Windows.Point | pt1, |
System.Windows.Point | pt2 | ||
) |
Adds a line segment to current figure.
Adds a line segment to current figure.
void PdfSharp.Drawing.XGraphicsPath.AddLines | ( | System.Windows.Point[] | points | ) |
Adds a series of connected line segments to current figure.
void PdfSharp.Drawing.XGraphicsPath.AddLines | ( | XPoint[] | points | ) |
Adds a series of connected line segments to current figure.
void PdfSharp.Drawing.XGraphicsPath.AddPath | ( | XGraphicsPath | path, |
bool | connect | ||
) |
Adds the specified path to this path.
void PdfSharp.Drawing.XGraphicsPath.AddPie | ( | double | x, |
double | y, | ||
double | width, | ||
double | height, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Adds the outline of a pie shape to this path.
void PdfSharp.Drawing.XGraphicsPath.AddPie | ( | int | x, |
int | y, | ||
int | width, | ||
int | height, | ||
double | startAngle, | ||
double | sweepAngle | ||
) |
Adds the outline of a pie shape to this path.
void PdfSharp.Drawing.XGraphicsPath.AddPie | ( | XRect | rect, |
double | startAngle, | ||
double | sweepAngle | ||
) |
Adds the outline of a pie shape to this path.
void PdfSharp.Drawing.XGraphicsPath.AddPolygon | ( | System.Windows.Point[] | points | ) |
Adds a polygon to this path.
void PdfSharp.Drawing.XGraphicsPath.AddPolygon | ( | XPoint[] | points | ) |
Adds a polygon to this path.
void PdfSharp.Drawing.XGraphicsPath.AddRectangle | ( | double | x, |
double | y, | ||
double | width, | ||
double | height | ||
) |
Adds a rectangle to this path.
void PdfSharp.Drawing.XGraphicsPath.AddRectangle | ( | int | x, |
int | y, | ||
int | width, | ||
int | height | ||
) |
Adds a rectangle to this path.
void PdfSharp.Drawing.XGraphicsPath.AddRectangle | ( | XRect | rect | ) |
Adds a rectangle to this path.
void PdfSharp.Drawing.XGraphicsPath.AddRectangles | ( | XRect[] | rects | ) |
Adds a series of rectangles to this path.
void PdfSharp.Drawing.XGraphicsPath.AddRoundedRectangle | ( | double | x, |
double | y, | ||
double | width, | ||
double | height, | ||
double | ellipseWidth, | ||
double | ellipseHeight | ||
) |
Adds a rectangle with rounded corners to this path.
void PdfSharp.Drawing.XGraphicsPath.AddRoundedRectangle | ( | int | x, |
int | y, | ||
int | width, | ||
int | height, | ||
int | ellipseWidth, | ||
int | ellipseHeight | ||
) |
Adds a rectangle with rounded corners to this path.
void PdfSharp.Drawing.XGraphicsPath.AddRoundedRectangle | ( | Rect | rect, |
System.Windows.Size | ellipseSize | ||
) |
Adds a rectangle with rounded corners to this path.
void PdfSharp.Drawing.XGraphicsPath.AddString | ( | string | s, |
XFontFamily | family, | ||
XFontStyle | style, | ||
double | emSize, | ||
Rect | rect, | ||
XStringFormat | format | ||
) |
Adds a text string to this path.
void PdfSharp.Drawing.XGraphicsPath.AddString | ( | string | s, |
XFontFamily | family, | ||
XFontStyle | style, | ||
double | emSize, | ||
System.Windows.Point | origin, | ||
XStringFormat | format | ||
) |
Adds a text string to this path.
void PdfSharp.Drawing.XGraphicsPath.AddString | ( | string | s, |
XFontFamily | family, | ||
XFontStyle | style, | ||
double | emSize, | ||
XPoint | origin, | ||
XStringFormat | format | ||
) |
Adds a text string to this path.
void PdfSharp.Drawing.XGraphicsPath.AddString | ( | string | s, |
XFontFamily | family, | ||
XFontStyle | style, | ||
double | emSize, | ||
XRect | layoutRect, | ||
XStringFormat | format | ||
) |
Adds a text string to this path.
XGraphicsPath PdfSharp.Drawing.XGraphicsPath.Clone | ( | ) |
Clones this instance.
void PdfSharp.Drawing.XGraphicsPath.CloseFigure | ( | ) |
Closes the current figure and starts a new figure.
void PdfSharp.Drawing.XGraphicsPath.Flatten | ( | ) |
Converts each curve in this XGraphicsPath into a sequence of connected line segments.
void PdfSharp.Drawing.XGraphicsPath.Flatten | ( | XMatrix | matrix | ) |
Converts each curve in this XGraphicsPath into a sequence of connected line segments.
void PdfSharp.Drawing.XGraphicsPath.Flatten | ( | XMatrix | matrix, |
double | flatness | ||
) |
Converts each curve in this XGraphicsPath into a sequence of connected line segments.
void PdfSharp.Drawing.XGraphicsPath.StartFigure | ( | ) |
Starts a new figure without closing the current figure.
void PdfSharp.Drawing.XGraphicsPath.Widen | ( | XPen | pen | ) |
Replaces this path with curves that enclose the area that is filled when this path is drawn by the specified pen.
Replaces this path with curves that enclose the area that is filled when this path is drawn by the specified pen.
Replaces this path with curves that enclose the area that is filled when this path is drawn by the specified pen.
|
getset |
Gets or sets an XFillMode that determines how the interiors of shapes are filled.
|
get |
Grants access to internal objects of this class.