Table Of Contents

Previous topic

Group

Next topic

LineAndFillMixin

This Page

phoenix_title Line

The Line class takes a list of 2-tuples, or a NX2 NumPy Float array of point coordinates.

It will draw a straight line if there are two points, and a polyline if there are more than two.


class_hierarchy Inheritance Diagram

Inheritance diagram for class Line

Inheritance diagram of Line


method_summary Methods Summary

__init__  

api Class API



class Line(PointsObjectMixin, LineOnlyMixin, DrawObject)

The Line class takes a list of 2-tuples, or a NX2 NumPy Float array of point coordinates.

It will draw a straight line if there are two points, and a polyline if there are more than two.


Methods



__init__(self, Points, LineColor = "Black", LineStyle = "Solid", LineWidth = 1, InForeground = False)