|
phystricks
|
the graph of a polygon More...


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 | |
the graph of a polygon
In order to change the parameters of the polygon (line style, color, ...) you have to change
poly.edges_parameters for the parameters of the edge.poly.hatch_parameters for the hatching parameterspoly.fill_parameters for the filling parameters In particular, the edge color, the hatch color and the filling color are independent. Yes, you can hatch and fill; in this case, the hatch is over the filling. | def phystricks.src.PolygonGraph.PolygonGraph.__init__ | ( | self, | |
| points_list | |||
| ) |
|
private |
|
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 | |||
| ) |
|
private |
|
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 |
1.8.11