Module fig :: Class Polygon

Class Polygon




Represents a closed polygon object.

Instance Methods
 
__init__(self, points, closed=True)
 
polylineType(self)
Return type of this polygon (ptPolygon for all Polygon objects), see changeType.
 
closed(self)
Return whether this polygon is closed (True for all Polygon objects.)

Inherited from PolylineBase: __str__, bounds, changeType

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties

Inherited from PolylineBase: filename, flipped, points, radius

Inherited from Object: backwardArrow, capStyle, comment, depth, fillColor, fillStyle, forwardArrow, joinStyle, lineStyle, lineWidth, penColor, penStyle, styleValue

Inherited from object: __class__

Method Details

__init__(self, points, closed=True)
(Constructor)

 
Overrides: PolylineBase.__init__