GeometryPath class

GeometryPath class

Represents geometry path of GeometryShape

The GeometryPath type exposes the following members:

Constructors

ConstructorDescription
__init__Creates instance of GeometryPath

Properties

PropertyDescription
path_dataReturns geometry path of GeometryShape as an array of path segments.
fill_modeSets fill mode
strokeSets stroke appearance

Methods

MethodDescription
line_toAdds line to the end of the path
line_toAdds line to the end of the path
line_toAdds line to the specified place of the path
line_toAdds line to the specified place of the path
cubic_bezier_toAdds cubic Bezier curve at the end the path
cubic_bezier_toAdds cubic Bezier curve at the end the path
cubic_bezier_toAdds cubic Bezier curve to the specified place of the path
cubic_bezier_toAdds cubic Bezier curve to the specified place of the path
quadratic_bezier_toAdds quadratic Bezier curve at the end the path
quadratic_bezier_toAdds quadratic Bezier curve at the end the path
quadratic_bezier_toAdds quadratic Bezier curve to the specified place of the path
quadratic_bezier_toAdds quadratic Bezier curve to the specified place of the path
move_toSets next point position.
move_toSets next point position.
remove_atRemoves segment at the specified index of the geometry path.
close_figureCloses the current figure of this path
arc_toAppends the specified arc to the path.

See Also