ShapePath

ShapePath class

Represents a creation path consisting of a series of moves, lines and curves that when combined will form a geometric shape.

Constructors

NameDescription
ShapePathInitializes a new instance of the ShapePath class.

Properties

NameTypeDescription
PathSegementListShapeSegmentPathCollectionGets ShapeSegmentPathCollection list
WidthPixelint
HeightPixelint

Methods

NameDescription
moveTo
lineTo
cubicBezierTo
arcTo
close

ShapePath()

Initializes a new instance of the ShapePath class.

ShapePath.PathSegementList property

Gets ShapeSegmentPathCollection list

Type: ShapeSegmentPathCollection

ShapePath.WidthPixel property

Type: int

ShapePath.HeightPixel property

Type: int

moveTo(x, y)

lineTo(x, y)

cubicBezierTo(ctrX1, ctrY1, ctrX2, ctrY2, endX, endY)

arcTo(wR, hR, stAng, swAng)

close()