Show / Hide Table of Contents

Class SvgBuilder

Inheritance
object
SvgBuilder
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public class SvgBuilder

Constructors

SvgBuilder(TextWriter)

Declaration
public SvgBuilder(TextWriter tw)
Parameters
Type Name Description
TextWriter tw

Fields

FlipY

Declaration
public static Matrix4x4 FlipY
Field Value
Type Description
Matrix4x4

Properties

TextWriter

Declaration
public TextWriter TextWriter { get; }
Property Value
Type Description
TextWriter

Methods

BeginSvg(string, float)

Declaration
public void BeginSvg(string viewBox = "-5 -5 10 10", float strokeWidth = 0.1)
Parameters
Type Name Description
string viewBox
float strokeWidth

DrawCell(IGrid, Cell, string)

Declaration
public void DrawCell(IGrid grid, Cell cell, string fill = null)
Parameters
Type Name Description
IGrid grid
Cell cell
string fill

DrawCoordinateLabel(IGrid, Cell, int, double, string)

Declaration
public void DrawCoordinateLabel(IGrid grid, Cell cell, int dim = 3, double textScale = 1, string text = null)
Parameters
Type Name Description
IGrid grid
Cell cell
int dim
double textScale
string text

EndSvg()

Declaration
public void EndSvg()
In this article
Back to top Generated by DocFX