Path Methods

The Path type exposes the following members.

Methods

Name Description
Public method ApplyTransform

Applies the specified linear transfromation to this path.

Public method Clear

Removes all elements of the path.

Public method Close

Closes the path by copying the starting point to the ending one.

Public method Static member Create Overloaded.

Creates a Path from the existing path.

Public method CurveTo Overloaded.

Adds a Bezier curve to the path.

Public method Dispose

Releases all resources used by this Path.

Public method DrawEllipse Overloaded.

Adds an ellipse to the path.

Public method DrawPath

Adds a new Path to the path.

Public method DrawRectangle Overloaded.

Adds a rectangle to the path.

Public method DrawText

Adds a text outline to the path.

Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Static member GetAlphaContour Overloaded.
Public method GetBounds

Returns the bounding rectangle of the path.

Public method GetHashCode

Returns a hash code for this Path.

(Overrides Object.GetHashCode().)
Public method GetLength

Returns length of this Path, in pixels.

Public method GetObjectData

Populates a SerializationInfo with the data needed to serialize the Path object.

Public method GetType (Inherited from Object.)
Public method Static member Intersect

Returns an intersection of the two specified paths.

Public method LineTo Overloaded.

Adds a line to the path.

Protected method MemberwiseClone (Inherited from Object.)
Public method MoveTo Overloaded.

Adds a point to the path.

Public method OffsetContour
Public method Rotate

Rotates the path by the given angle.

Public method Scale

Scales coordinates of all points in the path.

Public method Split

Splits a path into separate paths.

Public method Static member Subtract

Returns a result of subtraction of the second path from the first path.

Public method ToGdiPlusGraphicsPath

Converts the path to the GraphicsPath.

Public method ToString (Inherited from Object.)
Public method Translate

Translates the path.

Public method Static member Union

Returns a union of the two specified paths.

Public method Static member Xor

Returns a result of exclusive disjunction of the two paths.

See Also

Reference