Class SvgBuilder
Inheritance
System.Object
SvgBuilder
Assembly: Sylves.dll
Syntax
public class SvgBuilder : Object
Constructors
SvgBuilder(TextWriter)
Declaration
public SvgBuilder(TextWriter tw)
Parameters
Type |
Name |
Description |
System.IO.TextWriter |
tw |
|
Properties
TextWriter
Declaration
public TextWriter TextWriter { get; }
Property Value
Type |
Description |
System.IO.TextWriter |
|
Methods
BeginSvg(String, Single)
Declaration
public void BeginSvg(string viewBox = "-5 -5 10 10", float strokeWidth = 0.1F)
Parameters
Type |
Name |
Description |
System.String |
viewBox |
|
System.Single |
strokeWidth |
|
DrawCell(IGrid, Cell, String)
Declaration
public void DrawCell(IGrid grid, Cell cell, string fill = null)
Parameters
Type |
Name |
Description |
IGrid |
grid |
|
Cell |
cell |
|
System.String |
fill |
|
DrawCoordinateLabel(IGrid, Cell, Int32, Double)
Declaration
public void DrawCoordinateLabel(IGrid grid, Cell cell, int dim = 3, double textScale = 1)
Parameters
Type |
Name |
Description |
IGrid |
grid |
|
Cell |
cell |
|
System.Int32 |
dim |
|
System.Double |
textScale |
|
EndSvg()
Declaration