GraphicsPath

GraphicsPath class

public class GraphicsPath : IDisposable

构造函数

姓名 描述
GraphicsPath() 默认构造函数。
GraphicsPath(FillMode)
GraphicsPath(PointF[], byte[])
GraphicsPath(Point[], byte[])
GraphicsPath(PointF[], byte[], FillMode)
GraphicsPath(Point[], byte[], FillMode)

特性

姓名 描述
FillMode { get; set; }
PathData { get; }
PathPoints { get; }
PathTypes { get; }
PointCount { get; }

方法

姓名 描述
AddArc(RectangleF, float, float)
AddArc(float, float, float, float, float, float)
AddBezier(PointF, PointF, PointF, PointF)
AddBezier(float, float, float, float, float, float, float, float)
AddBeziers(PointF[])
AddBeziers(Point[])
AddClosedCurve(PointF[])
AddClosedCurve(PointF[], float)
AddCurve(PointF[])
AddCurve(Point[])
AddCurve(PointF[], float)
AddCurve(PointF[], int, int, float)
AddEllipse(RectangleF)
AddEllipse(float, float, float, float)
AddLine(PointF, PointF)
AddLine(float, float, float, float)
AddLines(PointF[])
AddLines(Point[])
AddPath(GraphicsPath, bool)
AddPie(Rectangle, float, float)
AddPie(float, float, float, float, float, float)
AddPolygon(PointF[])
AddPolygon(Point[])
AddRectangle(Rectangle)
AddRectangle(RectangleF)
AddRectangles(RectangleF[])
AddRectangles(Rectangle[])
AddString(string, FontFamily, int, float, Point, StringFormat)
AddString(string, FontFamily, int, float, PointF, StringFormat)
AddString(string, FontFamily, int, float, Rectangle, StringFormat)
AddString(string, FontFamily, int, float, RectangleF, StringFormat)
Clone()
CloseAllFigures()
CloseFigure()
Dispose()
Flatten()
GetBounds()
GetBounds(Matrix)
GetBounds(Matrix, Pen)
GetLastPoint()
IsOutlineVisible(PointF, Pen)
IsVisible(PointF)
Reset()
Reverse()
SetMarkers()
StartFigure()
Transform(Matrix)
Warp(PointF[], RectangleF)
Warp(PointF[], RectangleF, Matrix)
Warp(PointF[], RectangleF, Matrix, WarpMode)
Warp(PointF[], RectangleF, Matrix, WarpMode, float)
Widen(Pen)
Widen(Pen, Matrix, float)

也可以看看