phystricks
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
phystricks.src.PolygonGraph.PolygonGraph Class Reference

the graph of a polygon More...

Inheritance diagram for phystricks.src.PolygonGraph.PolygonGraph:
Inheritance graph
[legend]
Collaboration diagram for phystricks.src.PolygonGraph.PolygonGraph:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, points_list)
 
def hatched (self)
 
def filled (self)
 
def rotation (self, angle)
 
def make_edges_independent (self)
 
def no_edges (self)
 
def put_mark (self, dist, text_list=None, points_names=None, mark_point=None, pspict=None, pspicts=None)
 
def action_on_pspict (self, pspict)
 

Public Attributes

 edges
 
 vertices
 
 points_list
 
 draw_edges
 
 independent_edge
 
 parameters
 
 edges_parameters
 
 hatch_parameters
 
 fill_parameters
 

Private Member Functions

def _math_bounding_box (self, pspict=None)
 
def _bounding_box (self, pspict=None)
 

Private Attributes

 _hatched
 
 _filled
 

Detailed Description

the graph of a polygon

In order to change the parameters of the polygon (line style, color, ...) you have to change

Constructor & Destructor Documentation

def phystricks.src.PolygonGraph.PolygonGraph.__init__ (   self,
  points_list 
)

Member Function Documentation

def phystricks.src.PolygonGraph.PolygonGraph._bounding_box (   self,
  pspict = None 
)
private
def phystricks.src.PolygonGraph.PolygonGraph._math_bounding_box (   self,
  pspict = None 
)
private
def phystricks.src.PolygonGraph.PolygonGraph.action_on_pspict (   self,
  pspict 
)
If one wants to fill or hatch, one has to ask explicitly.
def phystricks.src.PolygonGraph.PolygonGraph.filled (   self)
def phystricks.src.PolygonGraph.PolygonGraph.hatched (   self)
def phystricks.src.PolygonGraph.PolygonGraph.make_edges_independent (   self)
make the edges customisation independent the one to the other.
def phystricks.src.PolygonGraph.PolygonGraph.no_edges (   self)
When X.no_edges() is used, the edges of the polygon will not be drawn.

The argument `points_name` override `text_list`.
def phystricks.src.PolygonGraph.PolygonGraph.put_mark (   self,
  dist,
  text_list = None,
  points_names = None,
  mark_point = None,
  pspict = None,
  pspicts = None 
)
def phystricks.src.PolygonGraph.PolygonGraph.rotation (   self,
  angle 
)

Member Data Documentation

phystricks.src.PolygonGraph.PolygonGraph._filled
private
phystricks.src.PolygonGraph.PolygonGraph._hatched
private
phystricks.src.PolygonGraph.PolygonGraph.draw_edges
phystricks.src.PolygonGraph.PolygonGraph.edges
phystricks.src.PolygonGraph.PolygonGraph.edges_parameters
phystricks.src.PolygonGraph.PolygonGraph.fill_parameters
phystricks.src.PolygonGraph.PolygonGraph.hatch_parameters
phystricks.src.PolygonGraph.PolygonGraph.independent_edge
phystricks.src.PolygonGraph.PolygonGraph.parameters
phystricks.src.PolygonGraph.PolygonGraph.points_list
phystricks.src.PolygonGraph.PolygonGraph.vertices

The documentation for this class was generated from the following file: