new CodageCarre(c, coloropt, markopt)
Properties:
Name | Type | Description |
---|---|---|
svg |
string | Sortie au format vectoriel (SVG) que l’on peut afficher dans un navigateur |
tikz |
string | Sortie au format TikZ que l’on peut utiliser dans un fichier LaTeX |
Code un carré
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
c |
Polygone | Carré à coder |
||
color |
string |
<optional> |
'black'
|
Couleur des codages : du type 'blue' ou du type '#f15929' |
mark |
string |
<optional> |
'x'
|
Symbole posé sur les côtés |