| 1 | initial version |
You can use your own python function:
def rim_polygon(V,border_color='black',**kwargs):
G = polygon(V,**kwargs)
d = kwargs.get('thickness',1)
G += polygon(V,color=border_color,fill=False,thickness=d)
return G
L = [(0,0),(0,1),(2,1),(1,0)]
rim_polygon(L,color='red',alpha=0.5,thickness=4,axes=False)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.