GraphicsPath GraphicsPath GraphicsPath GraphicsPath Class

定義

表示一系列連接的直線和曲線。Represents a series of connected lines and curves. 這個類別無法被繼承。This class cannot be inherited.

public ref class GraphicsPath sealed : MarshalByRefObject, ICloneable, IDisposable
public sealed class GraphicsPath : MarshalByRefObject, ICloneable, IDisposable
type GraphicsPath = class
    inherit MarshalByRefObject
    interface ICloneable
    interface IDisposable
Public NotInheritable Class GraphicsPath
Inherits MarshalByRefObject
Implements ICloneable, IDisposable
繼承
實作

備註

應用程式會使用路徑來繪製圖案的外框、 填滿的形狀,內部和建立裁剪區域。Applications use paths to draw outlines of shapes, fill the interiors of shapes, and create clipping regions. 圖形引擎會維護在全局座標空間中的路徑中的幾何形狀的座標。The graphics engine maintains the coordinates of geometric shapes in a path in world coordinate space.

路徑可能會包含任意數目的圖形 (子路徑)。A path may be composed of any number of figures (subpaths). 每一個圖形被組成一系列連接的直線和曲線或基本的幾何圖形。Each figure is either composed of a sequence of connected lines and curves or a geometric shape primitive. 圖表的起點是連接的直線和曲線序列中的第一個點。The starting point of a figure is the first point in the sequence of connected lines and curves. 結束點則是序列中的最後一個點。The ending point is the last point in the sequence. 基本規格會定義基本的幾何圖形的開始和結束點。The starting and ending points of a geometric shape primitive are defined by the primitive specification.

圖,其中包含一系列連接的直線和曲線 (其開始和結束點可能是同一點) 是開放的圖表,除非它明確關閉。A figure that consists of a sequence of connected lines and curves (whose starting and ending points may be coincident) is an open figure, unless it is closed explicitly. 圖可以明確地關閉使用CloseFigure方法,它會關閉目前的圖形從結束點的一條線連接的起始點。A figure can be closed explicitly, by using the CloseFigure method, which closes the current figure by connecting a line from the ending point to the starting point. 幾何的圖形基本項目所組成的圖形是封閉的圖表。A figure that consists of a geometric shape primitive is a closed figure.

基於的填滿和裁剪 (例如,如果路徑使用呈現FillPath),為所有開啟數據都將從圖中的第一個點這一行新增至其最後一個點已關閉。For purposes of filling and clipping (for example, if a path is rendered using FillPath), all open figures are closed by adding a line from the figure's first point to its last point.

建立路徑時,或在關閉圖表時,隱含地啟動新的圖形。A new figure is implicitly started when a path is created or when a figure is closed. 新的圖形時,會明確地建立StartFigure呼叫方法。A new figure is explicitly created when the StartFigure method is called.

當基本的幾何圖形加入至路徑時,它會加入包含幾何圖形,圖形,並也會隱含地開始新的圖形。When a geometric shape primitive is added to a path, it adds a figure containing the geometric shape, and also implicitly starts a new figure. 因此,總是有目前的圖形路徑中。Consequently, there is always a current figure in a path. 時的直線和曲線加入至路徑中,視需要以連接至新的線條和曲線來形成一系列連接的直線和曲線的起始點的結束點目前的圖形方式加入隱含的行。When lines and curves are added to a path, an implicit line is added as needed to connect the ending point of the current figure to the starting point of the new lines and curves to form a sequence of connected lines and curves.

圖都有說明如何追蹤直線和曲線線段的起始點與結束點之間的方向。A figure has a direction that describes how line and curve segments are traced between the starting point and the ending point. 方向定義的直線和曲線加入至圖形,或基本的幾何圖形所定義的順序。The direction is defined in the order that lines and curves are added to a figure, or is defined by the geometric shape primitive. 方向用來判斷裁剪及填滿的路徑內部。The direction is used in determining the path interiors for clipping and fill.

建構函式

GraphicsPath() GraphicsPath() GraphicsPath() GraphicsPath()

使用 GraphicsPathFillMode 值,初始化 Alternate 類別的新執行個體。Initializes a new instance of the GraphicsPath class with a FillMode value of Alternate.

GraphicsPath(FillMode) GraphicsPath(FillMode) GraphicsPath(FillMode) GraphicsPath(FillMode)

使用指定的 GraphicsPath 列舉型別,初始化 FillMode 類別的新執行個體。Initializes a new instance of the GraphicsPath class with the specified FillMode enumeration.

GraphicsPath(PointF[], Byte[]) GraphicsPath(PointF[], Byte[]) GraphicsPath(PointF[], Byte[]) GraphicsPath(PointF[], Byte[])

使用指定的 GraphicsPathPathPointType 陣列,初始化 PointF 陣列的新執行個體。Initializes a new instance of the GraphicsPath array with the specified PathPointType and PointF arrays.

GraphicsPath(PointF[], Byte[], FillMode) GraphicsPath(PointF[], Byte[], FillMode) GraphicsPath(PointF[], Byte[], FillMode) GraphicsPath(PointF[], Byte[], FillMode)

使用指定的 GraphicsPathPathPointType 陣列以及指定的 PointF 列舉型別項目,初始化 FillMode 陣列的新執行個體。Initializes a new instance of the GraphicsPath array with the specified PathPointType and PointF arrays and with the specified FillMode enumeration element.

GraphicsPath(Point[], Byte[]) GraphicsPath(Point[], Byte[]) GraphicsPath(Point[], Byte[]) GraphicsPath(Point[], Byte[])

使用指定的 GraphicsPathPathPointType 陣列,初始化 Point 類別的新執行個體。Initializes a new instance of the GraphicsPath class with the specified PathPointType and Point arrays.

GraphicsPath(Point[], Byte[], FillMode) GraphicsPath(Point[], Byte[], FillMode) GraphicsPath(Point[], Byte[], FillMode) GraphicsPath(Point[], Byte[], FillMode)

使用指定的 GraphicsPathPathPointType 陣列以及指定的 Point 列舉型別項目,初始化 FillMode 類別的新執行個體。Initializes a new instance of the GraphicsPath class with the specified PathPointType and Point arrays and with the specified FillMode enumeration element.

屬性

FillMode FillMode FillMode FillMode

取得或設定 FillMode 列舉型別,此列舉型別決定如何填滿這個 GraphicsPath 中形狀的內部。Gets or sets a FillMode enumeration that determines how the interiors of shapes in this GraphicsPath are filled.

PathData PathData PathData PathData

取得 PathData,它為這個 GraphicsPath 封裝點 (points) 和型別 (types) 的陣列。Gets a PathData that encapsulates arrays of points (points) and types (types) for this GraphicsPath.

PathPoints PathPoints PathPoints PathPoints

取得路徑中的點。Gets the points in the path.

PathTypes PathTypes PathTypes PathTypes

取得 PathPoints 陣列中對應點的型別。Gets the types of the corresponding points in the PathPoints array.

PointCount PointCount PointCount PointCount

取得 PathPointsPathTypes 陣列中的元素數。Gets the number of elements in the PathPoints or the PathTypes array.

方法

AddArc(Int32, Int32, Int32, Int32, Single, Single) AddArc(Int32, Int32, Int32, Int32, Single, Single) AddArc(Int32, Int32, Int32, Int32, Single, Single) AddArc(Int32, Int32, Int32, Int32, Single, Single)

將橢圓弧形附加到目前的圖形。Appends an elliptical arc to the current figure.

AddArc(Rectangle, Single, Single) AddArc(Rectangle, Single, Single) AddArc(Rectangle, Single, Single) AddArc(Rectangle, Single, Single)

將橢圓弧形附加到目前的圖形。Appends an elliptical arc to the current figure.

AddArc(RectangleF, Single, Single) AddArc(RectangleF, Single, Single) AddArc(RectangleF, Single, Single) AddArc(RectangleF, Single, Single)

將橢圓弧形附加到目前的圖形。Appends an elliptical arc to the current figure.

AddArc(Single, Single, Single, Single, Single, Single) AddArc(Single, Single, Single, Single, Single, Single) AddArc(Single, Single, Single, Single, Single, Single) AddArc(Single, Single, Single, Single, Single, Single)

將橢圓弧形附加到目前的圖形。Appends an elliptical arc to the current figure.

AddBezier(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) AddBezier(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) AddBezier(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) AddBezier(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

將立方貝茲曲線加入至目前圖形。Adds a cubic Bézier curve to the current figure.

AddBezier(Point, Point, Point, Point) AddBezier(Point, Point, Point, Point) AddBezier(Point, Point, Point, Point) AddBezier(Point, Point, Point, Point)

將立方貝茲曲線加入至目前圖形。Adds a cubic Bézier curve to the current figure.

AddBezier(PointF, PointF, PointF, PointF) AddBezier(PointF, PointF, PointF, PointF) AddBezier(PointF, PointF, PointF, PointF) AddBezier(PointF, PointF, PointF, PointF)

將立方貝茲曲線加入至目前圖形。Adds a cubic Bézier curve to the current figure.

AddBezier(Single, Single, Single, Single, Single, Single, Single, Single) AddBezier(Single, Single, Single, Single, Single, Single, Single, Single) AddBezier(Single, Single, Single, Single, Single, Single, Single, Single) AddBezier(Single, Single, Single, Single, Single, Single, Single, Single)

將立方貝茲曲線加入至目前圖形。Adds a cubic Bézier curve to the current figure.

AddBeziers(PointF[]) AddBeziers(PointF[]) AddBeziers(PointF[]) AddBeziers(PointF[])

將連接的三次方貝茲曲線序列加入至目前的圖形。Adds a sequence of connected cubic Bézier curves to the current figure.

AddBeziers(Point[]) AddBeziers(Point[]) AddBeziers(Point[]) AddBeziers(Point[])

將連接的三次方貝茲曲線序列加入至目前的圖形。Adds a sequence of connected cubic Bézier curves to the current figure.

AddClosedCurve(PointF[]) AddClosedCurve(PointF[]) AddClosedCurve(PointF[]) AddClosedCurve(PointF[])

將關閉曲線加入這個路徑。Adds a closed curve to this path. 主要曲線會被使用,因為該曲線會經過陣列中的每一個點。A cardinal spline curve is used because the curve travels through each of the points in the array.

AddClosedCurve(PointF[], Single) AddClosedCurve(PointF[], Single) AddClosedCurve(PointF[], Single) AddClosedCurve(PointF[], Single)

將關閉曲線加入這個路徑。Adds a closed curve to this path. 主要曲線會被使用,因為該曲線會經過陣列中的每一個點。A cardinal spline curve is used because the curve travels through each of the points in the array.

AddClosedCurve(Point[]) AddClosedCurve(Point[]) AddClosedCurve(Point[]) AddClosedCurve(Point[])

將關閉曲線加入這個路徑。Adds a closed curve to this path. 主要曲線會被使用,因為該曲線會經過陣列中的每一個點。A cardinal spline curve is used because the curve travels through each of the points in the array.

AddClosedCurve(Point[], Single) AddClosedCurve(Point[], Single) AddClosedCurve(Point[], Single) AddClosedCurve(Point[], Single)

將關閉曲線加入這個路徑。Adds a closed curve to this path. 主要曲線會被使用,因為該曲線會經過陣列中的每一個點。A cardinal spline curve is used because the curve travels through each of the points in the array.

AddCurve(PointF[]) AddCurve(PointF[]) AddCurve(PointF[]) AddCurve(PointF[])

將曲線加入目前的圖形。Adds a spline curve to the current figure. 主要曲線會被使用,因為該曲線會經過陣列中的每一個點。A cardinal spline curve is used because the curve travels through each of the points in the array.

AddCurve(PointF[], Int32, Int32, Single) AddCurve(PointF[], Int32, Int32, Single) AddCurve(PointF[], Int32, Int32, Single) AddCurve(PointF[], Int32, Int32, Single)

將曲線加入目前的圖形。Adds a spline curve to the current figure.

AddCurve(PointF[], Single) AddCurve(PointF[], Single) AddCurve(PointF[], Single) AddCurve(PointF[], Single)

將曲線加入目前的圖形。Adds a spline curve to the current figure.

AddCurve(Point[]) AddCurve(Point[]) AddCurve(Point[]) AddCurve(Point[])

將曲線加入目前的圖形。Adds a spline curve to the current figure. 主要曲線會被使用,因為該曲線會經過陣列中的每一個點。A cardinal spline curve is used because the curve travels through each of the points in the array.

AddCurve(Point[], Int32, Int32, Single) AddCurve(Point[], Int32, Int32, Single) AddCurve(Point[], Int32, Int32, Single) AddCurve(Point[], Int32, Int32, Single)

將曲線加入目前的圖形。Adds a spline curve to the current figure.

AddCurve(Point[], Single) AddCurve(Point[], Single) AddCurve(Point[], Single) AddCurve(Point[], Single)

將曲線加入目前的圖形。Adds a spline curve to the current figure.

AddEllipse(Int32, Int32, Int32, Int32) AddEllipse(Int32, Int32, Int32, Int32) AddEllipse(Int32, Int32, Int32, Int32) AddEllipse(Int32, Int32, Int32, Int32)

將橢圓形加入目前的路徑。Adds an ellipse to the current path.

AddEllipse(Rectangle) AddEllipse(Rectangle) AddEllipse(Rectangle) AddEllipse(Rectangle)

將橢圓形加入目前的路徑。Adds an ellipse to the current path.

AddEllipse(RectangleF) AddEllipse(RectangleF) AddEllipse(RectangleF) AddEllipse(RectangleF)

將橢圓形加入目前的路徑。Adds an ellipse to the current path.

AddEllipse(Single, Single, Single, Single) AddEllipse(Single, Single, Single, Single) AddEllipse(Single, Single, Single, Single) AddEllipse(Single, Single, Single, Single)

將橢圓形加入目前的路徑。Adds an ellipse to the current path.

AddLine(Int32, Int32, Int32, Int32) AddLine(Int32, Int32, Int32, Int32) AddLine(Int32, Int32, Int32, Int32) AddLine(Int32, Int32, Int32, Int32)

將直線線段附加到目前的圖形。Appends a line segment to the current figure.

AddLine(Point, Point) AddLine(Point, Point) AddLine(Point, Point) AddLine(Point, Point)

將線段附加至這個 GraphicsPathAppends a line segment to this GraphicsPath.

AddLine(PointF, PointF) AddLine(PointF, PointF) AddLine(PointF, PointF) AddLine(PointF, PointF)

將線段附加至這個 GraphicsPathAppends a line segment to this GraphicsPath.

AddLine(Single, Single, Single, Single) AddLine(Single, Single, Single, Single) AddLine(Single, Single, Single, Single) AddLine(Single, Single, Single, Single)

將線段附加至這個 GraphicsPathAppends a line segment to this GraphicsPath.

AddLines(PointF[]) AddLines(PointF[]) AddLines(PointF[]) AddLines(PointF[])

將一系列連接的線段附加至這個 GraphicsPath 的結尾。Appends a series of connected line segments to the end of this GraphicsPath.

AddLines(Point[]) AddLines(Point[]) AddLines(Point[]) AddLines(Point[])

將一系列連接的線段附加至這個 GraphicsPath 的結尾。Appends a series of connected line segments to the end of this GraphicsPath.

AddPath(GraphicsPath, Boolean) AddPath(GraphicsPath, Boolean) AddPath(GraphicsPath, Boolean) AddPath(GraphicsPath, Boolean)

將指定的 GraphicsPath 附加至這個路徑。Appends the specified GraphicsPath to this path.

AddPie(Int32, Int32, Int32, Int32, Single, Single) AddPie(Int32, Int32, Int32, Int32, Single, Single) AddPie(Int32, Int32, Int32, Int32, Single, Single) AddPie(Int32, Int32, Int32, Int32, Single, Single)

將派形的外框加入這個路徑。Adds the outline of a pie shape to this path.

AddPie(Rectangle, Single, Single) AddPie(Rectangle, Single, Single) AddPie(Rectangle, Single, Single) AddPie(Rectangle, Single, Single)

將派形的外框加入這個路徑。Adds the outline of a pie shape to this path.

AddPie(Single, Single, Single, Single, Single, Single) AddPie(Single, Single, Single, Single, Single, Single) AddPie(Single, Single, Single, Single, Single, Single) AddPie(Single, Single, Single, Single, Single, Single)

將派形的外框加入這個路徑。Adds the outline of a pie shape to this path.

AddPolygon(PointF[]) AddPolygon(PointF[]) AddPolygon(PointF[]) AddPolygon(PointF[])

將多邊形加入至這個路徑。Adds a polygon to this path.

AddPolygon(Point[]) AddPolygon(Point[]) AddPolygon(Point[]) AddPolygon(Point[])

將多邊形加入至這個路徑。Adds a polygon to this path.

AddRectangle(Rectangle) AddRectangle(Rectangle) AddRectangle(Rectangle) AddRectangle(Rectangle)

將矩形加入至這個路徑。Adds a rectangle to this path.

AddRectangle(RectangleF) AddRectangle(RectangleF) AddRectangle(RectangleF) AddRectangle(RectangleF)

將矩形加入至這個路徑。Adds a rectangle to this path.

AddRectangles(RectangleF[]) AddRectangles(RectangleF[]) AddRectangles(RectangleF[]) AddRectangles(RectangleF[])

將一系列的矩形加入至這個路徑。Adds a series of rectangles to this path.

AddRectangles(Rectangle[]) AddRectangles(Rectangle[]) AddRectangles(Rectangle[]) AddRectangles(Rectangle[])

將一系列的矩形加入至這個路徑。Adds a series of rectangles to this path.

AddString(String, FontFamily, Int32, Single, Point, StringFormat) AddString(String, FontFamily, Int32, Single, Point, StringFormat) AddString(String, FontFamily, Int32, Single, Point, StringFormat) AddString(String, FontFamily, Int32, Single, Point, StringFormat)

將文字字串加入這個路徑。Adds a text string to this path.

AddString(String, FontFamily, Int32, Single, PointF, StringFormat) AddString(String, FontFamily, Int32, Single, PointF, StringFormat) AddString(String, FontFamily, Int32, Single, PointF, StringFormat) AddString(String, FontFamily, Int32, Single, PointF, StringFormat)

將文字字串加入這個路徑。Adds a text string to this path.

AddString(String, FontFamily, Int32, Single, Rectangle, StringFormat) AddString(String, FontFamily, Int32, Single, Rectangle, StringFormat) AddString(String, FontFamily, Int32, Single, Rectangle, StringFormat) AddString(String, FontFamily, Int32, Single, Rectangle, StringFormat)

將文字字串加入這個路徑。Adds a text string to this path.

AddString(String, FontFamily, Int32, Single, RectangleF, StringFormat) AddString(String, FontFamily, Int32, Single, RectangleF, StringFormat) AddString(String, FontFamily, Int32, Single, RectangleF, StringFormat) AddString(String, FontFamily, Int32, Single, RectangleF, StringFormat)

將文字字串加入這個路徑。Adds a text string to this path.

ClearMarkers() ClearMarkers() ClearMarkers() ClearMarkers()

從這個路徑清除所有的資料標記。Clears all markers from this path.

Clone() Clone() Clone() Clone()

建立這個路徑的完全相同複本。Creates an exact copy of this path.

CloseAllFigures() CloseAllFigures() CloseAllFigures() CloseAllFigures()

關閉在這個路徑中的所有開放的圖形,並開始新的圖形。Closes all open figures in this path and starts a new figure. 它會藉由連接從其開始點至其結束點的直線來關閉每個開放的圖形。It closes each open figure by connecting a line from its endpoint to its starting point.

CloseFigure() CloseFigure() CloseFigure() CloseFigure()

關閉目前的圖形,並開始新的圖形。Closes the current figure and starts a new figure. 如果目前的圖形含有連接的直線和曲線序列,則該方法會藉由連接從結束點至開始點的直線來關閉迴圈。If the current figure contains a sequence of connected lines and curves, the method closes the loop by connecting a line from the endpoint to the starting point.

CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type)

建立包含所有相關資訊的物件,這些資訊是產生用來與遠端物件通訊的所需 Proxy。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Dispose() Dispose() Dispose() Dispose()

釋放這個 GraphicsPath 所使用的所有資源。Releases all resources used by this GraphicsPath.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

Flatten() Flatten() Flatten() Flatten()

將這個路徑中的每條曲線轉型為連接的直線線段序列。Converts each curve in this path into a sequence of connected line segments.

Flatten(Matrix) Flatten(Matrix) Flatten(Matrix) Flatten(Matrix)

套用指定的轉換,然後將這個 GraphicsPath 中的每條曲線轉換為連接的直線線段序列。Applies the specified transform and then converts each curve in this GraphicsPath into a sequence of connected line segments.

Flatten(Matrix, Single) Flatten(Matrix, Single) Flatten(Matrix, Single) Flatten(Matrix, Single)

將這個 GraphicsPath 中的每條曲線轉換為連接的直線線段序列。Converts each curve in this GraphicsPath into a sequence of connected line segments.

GetBounds() GetBounds() GetBounds() GetBounds()

傳回限定這個 GraphicsPath 之界限的矩形。Returns a rectangle that bounds this GraphicsPath.

GetBounds(Matrix) GetBounds(Matrix) GetBounds(Matrix) GetBounds(Matrix)

當這個 GraphicsPath 路徑由指定的 Matrix 轉換時,會傳回限定這個路徑之界限的矩形。Returns a rectangle that bounds this GraphicsPath when this path is transformed by the specified Matrix.

GetBounds(Matrix, Pen) GetBounds(Matrix, Pen) GetBounds(Matrix, Pen) GetBounds(Matrix, Pen)

當目前路徑由指定的 GraphicsPath 轉換,並使用指定的 Matrix 繪製時,會傳回限定這個 Pen 之界限的矩形。Returns a rectangle that bounds this GraphicsPath when the current path is transformed by the specified Matrix and drawn with the specified Pen.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetLastPoint() GetLastPoint() GetLastPoint() GetLastPoint()

取得這個 PathPointsGraphicsPath 陣列中的最後一點。Gets the last point in the PathPoints array of this GraphicsPath.

GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

擷取控制這個執行個體存留期 (Lifetime) 原則的目前存留期服務物件。Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

取得存留期服務物件,以控制這個執行個體的存留期原則。Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
IsOutlineVisible(Int32, Int32, Pen) IsOutlineVisible(Int32, Int32, Pen) IsOutlineVisible(Int32, Int32, Pen) IsOutlineVisible(Int32, Int32, Pen)

指出當使用指定的 GraphicsPath 繪製時,指定的點是否包含在這個 Pen 的外框內 (下面)。Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen.

IsOutlineVisible(Int32, Int32, Pen, Graphics) IsOutlineVisible(Int32, Int32, Pen, Graphics) IsOutlineVisible(Int32, Int32, Pen, Graphics) IsOutlineVisible(Int32, Int32, Pen, Graphics)

指出當使用指定的 GraphicsPath 和指定的 Pen 繪製時,指定的點是否包含在這個 Graphics 的外框內 (下面)。Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen and using the specified Graphics.

IsOutlineVisible(Point, Pen) IsOutlineVisible(Point, Pen) IsOutlineVisible(Point, Pen) IsOutlineVisible(Point, Pen)

指出當使用指定的 GraphicsPath 繪製時,指定的點是否包含在這個 Pen 的外框內 (下面)。Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen.

IsOutlineVisible(Point, Pen, Graphics) IsOutlineVisible(Point, Pen, Graphics) IsOutlineVisible(Point, Pen, Graphics) IsOutlineVisible(Point, Pen, Graphics)

指出當使用指定的 GraphicsPath 和指定的 Pen 繪製時,指定的點是否包含在這個 Graphics 的外框內 (下面)。Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen and using the specified Graphics.

IsOutlineVisible(PointF, Pen) IsOutlineVisible(PointF, Pen) IsOutlineVisible(PointF, Pen) IsOutlineVisible(PointF, Pen)

指出當使用指定的 GraphicsPath 繪製時,指定的點是否包含在這個 Pen 的外框內 (下面)。Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen.

IsOutlineVisible(PointF, Pen, Graphics) IsOutlineVisible(PointF, Pen, Graphics) IsOutlineVisible(PointF, Pen, Graphics) IsOutlineVisible(PointF, Pen, Graphics)

指出當使用指定的 GraphicsPath 和指定的 Pen 繪製時,指定的點是否包含在這個 Graphics 的外框內 (下面)。Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen and using the specified Graphics.

IsOutlineVisible(Single, Single, Pen) IsOutlineVisible(Single, Single, Pen) IsOutlineVisible(Single, Single, Pen) IsOutlineVisible(Single, Single, Pen)

指出當使用指定的 GraphicsPath 繪製時,指定的點是否包含在這個 Pen 的外框內 (下面)。Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen.

IsOutlineVisible(Single, Single, Pen, Graphics) IsOutlineVisible(Single, Single, Pen, Graphics) IsOutlineVisible(Single, Single, Pen, Graphics) IsOutlineVisible(Single, Single, Pen, Graphics)

指出當使用指定的 GraphicsPath 和指定的 Pen 繪製時,指定的點是否包含在這個 Graphics 的外框內 (下面)。Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen and using the specified Graphics.

IsVisible(Int32, Int32) IsVisible(Int32, Int32) IsVisible(Int32, Int32) IsVisible(Int32, Int32)

指出指定的點是否包含在這個 GraphicsPath 內。Indicates whether the specified point is contained within this GraphicsPath.

IsVisible(Int32, Int32, Graphics) IsVisible(Int32, Int32, Graphics) IsVisible(Int32, Int32, Graphics) IsVisible(Int32, Int32, Graphics)

使用指定的 GraphicsPath,指示這個 Graphics 內是否包含指定的點。Indicates whether the specified point is contained within this GraphicsPath, using the specified Graphics.

IsVisible(Point) IsVisible(Point) IsVisible(Point) IsVisible(Point)

指出指定的點是否包含在這個 GraphicsPath 內。Indicates whether the specified point is contained within this GraphicsPath.

IsVisible(Point, Graphics) IsVisible(Point, Graphics) IsVisible(Point, Graphics) IsVisible(Point, Graphics)

指出指定的點是否包含在這個 GraphicsPath 內。Indicates whether the specified point is contained within this GraphicsPath.

IsVisible(PointF) IsVisible(PointF) IsVisible(PointF) IsVisible(PointF)

指出指定的點是否包含在這個 GraphicsPath 內。Indicates whether the specified point is contained within this GraphicsPath.

IsVisible(PointF, Graphics) IsVisible(PointF, Graphics) IsVisible(PointF, Graphics) IsVisible(PointF, Graphics)

指出指定的點是否包含在這個 GraphicsPath 內。Indicates whether the specified point is contained within this GraphicsPath.

IsVisible(Single, Single) IsVisible(Single, Single) IsVisible(Single, Single) IsVisible(Single, Single)

指出指定的點是否包含在這個 GraphicsPath 內。Indicates whether the specified point is contained within this GraphicsPath.

IsVisible(Single, Single, Graphics) IsVisible(Single, Single, Graphics) IsVisible(Single, Single, Graphics) IsVisible(Single, Single, Graphics)

指示指定的點是否包含在指定 GraphicsPath 之可見裁剪區域中的這個 Graphics 內。Indicates whether the specified point is contained within this GraphicsPath in the visible clip region of the specified Graphics.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

建立目前 MarshalByRefObject 物件的淺層複本。Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
Reset() Reset() Reset() Reset()

清除 PathPointsPathTypes 陣列,並將 FillMode 設定為 AlternateEmpties the PathPoints and PathTypes arrays and sets the FillMode to Alternate.

Reverse() Reverse() Reverse() Reverse()

反轉這個 PathPointsGraphicsPath 陣列中點的順序。Reverses the order of points in the PathPoints array of this GraphicsPath.

SetMarkers() SetMarkers() SetMarkers() SetMarkers()

在這個 GraphicsPath 上設定資料標記。Sets a marker on this GraphicsPath.

StartFigure() StartFigure() StartFigure() StartFigure()

不關閉目前的圖形而開始新圖形。Starts a new figure without closing the current figure. 所有後續加入至路徑的點會加入至這個新圖形。All subsequent points added to the path are added to this new figure.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)
Transform(Matrix) Transform(Matrix) Transform(Matrix) Transform(Matrix)

將轉換矩陣套用至這個 GraphicsPathApplies a transform matrix to this GraphicsPath.

Warp(PointF[], RectangleF) Warp(PointF[], RectangleF) Warp(PointF[], RectangleF) Warp(PointF[], RectangleF)

將由矩形和平行四邊形所定義的彎曲轉換套用至這個 GraphicsPathApplies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.

Warp(PointF[], RectangleF, Matrix) Warp(PointF[], RectangleF, Matrix) Warp(PointF[], RectangleF, Matrix) Warp(PointF[], RectangleF, Matrix)

將由矩形和平行四邊形所定義的彎曲轉換套用至這個 GraphicsPathApplies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.

Warp(PointF[], RectangleF, Matrix, WarpMode) Warp(PointF[], RectangleF, Matrix, WarpMode) Warp(PointF[], RectangleF, Matrix, WarpMode) Warp(PointF[], RectangleF, Matrix, WarpMode)

將由矩形和平行四邊形所定義的彎曲轉換套用至這個 GraphicsPathApplies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.

Warp(PointF[], RectangleF, Matrix, WarpMode, Single) Warp(PointF[], RectangleF, Matrix, WarpMode, Single) Warp(PointF[], RectangleF, Matrix, WarpMode, Single) Warp(PointF[], RectangleF, Matrix, WarpMode, Single)

將由矩形和平行四邊形所定義的彎曲轉換套用至這個 GraphicsPathApplies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.

Widen(Pen) Widen(Pen) Widen(Pen) Widen(Pen)

將額外的外框加入至路徑。Adds an additional outline to the path.

Widen(Pen, Matrix) Widen(Pen, Matrix) Widen(Pen, Matrix) Widen(Pen, Matrix)

將額外的外框加入至 GraphicsPathAdds an additional outline to the GraphicsPath.

Widen(Pen, Matrix, Single) Widen(Pen, Matrix, Single) Widen(Pen, Matrix, Single) Widen(Pen, Matrix, Single)

將這個 GraphicsPath 取代為封閉在指定的畫筆繪製這個路徑時所填滿之區域的曲線。Replaces this GraphicsPath with curves that enclose the area that is filled when this path is drawn by the specified pen.

適用於

另請參閱