Search
Path Members
Constructors Properties Methods
 


Represents a path.

The following tables list the members exposed by the Path type.

 Public Constructors

  Name Description

Path

Initializes a new instance of the Path class.

 Public Properties

  Name Description

brush

Gets or sets the brush used to fill a closed path.

gridColumn

Gets or sets the index of the grid column this component is contained in. (Inherited from ComponentBase.)

gridRow

Gets or sets the index of the grid row this component is contained in. (Inherited from ComponentBase.)

horizontalAlignment

Gets or sets the component's horizontal alignment. (Inherited from ComponentBase.)

pen

Gets or sets the pen used to draw the path.

text

Gets or sets the text displayed inside this path.

verticalAlignment

Gets or sets the component's vertical alignment. (Inherited from ComponentBase.)

visibility

Gets or sets the visibility of this component. (Inherited from ComponentBase.)

 Public Methods

  Name Description

addEllipse

Adds an ellipse figure to the path.

addRect

Adds a rectangle figure to the path.

arcTo

Draws an arc.

bezierTo

Draws a cubic bezier curve.

clone

Creates a Path object identical to the current object.

close

Closes the path.

done

Ends the path definition.

empty

Gets a value indicating whether this Path is empty.

getBounds

Gets the bounding rect of the path.

init

Begins a path or resets the current path.

lineTo

Draws a line from the current point to the specified location.

moveTo

Moves the path to the specified location.

quadraticCurveTo

Draws a quadratic bezier curve.

 See Also