C# Class PixelArtUpScaler.SvgVector

Datei anzeigen Open project: michaelrbk/pixelart-vectorizer Class Usage Examples

Public Properties

Property Type Description
DrawCellBorder bool
DrawEdges bool
DrawNewCells bool
DrawNewControlPoints bool
DrawPixelArt bool
DrawValence bool
DrawVertex bool
Height int
Width int
scale int

Public Methods

Method Description
ToNewEdges ( EdgeTag>.UndirectedGraph g, string fileName = "image.svg" ) : String
toImageSVG ( EdgeTag>.UndirectedGraph g, string fileName = "image.svg" ) : String

Private Methods

Method Description
NewImage ( EdgeTag>.UndirectedGraph g, System.Drawing.Shapes shapes, string fileName = "image.svg" ) : string
ToCurves ( System curves, string fileName = "image.svg" ) : string
catmullRom2bezier ( System points ) : String

Method Details

ToNewEdges() public method

public ToNewEdges ( EdgeTag>.UndirectedGraph g, string fileName = "image.svg" ) : String
g EdgeTag>.UndirectedGraph
fileName string
return String

toImageSVG() public method

public toImageSVG ( EdgeTag>.UndirectedGraph g, string fileName = "image.svg" ) : String
g EdgeTag>.UndirectedGraph
fileName string
return String

Property Details

DrawCellBorder public_oe property

public bool DrawCellBorder
return bool

DrawEdges public_oe property

public bool DrawEdges
return bool

DrawNewCells public_oe property

public bool DrawNewCells
return bool

DrawNewControlPoints public_oe property

public bool DrawNewControlPoints
return bool

DrawPixelArt public_oe property

public bool DrawPixelArt
return bool

DrawValence public_oe property

public bool DrawValence
return bool

DrawVertex public_oe property

public bool DrawVertex
return bool

Height public_oe property

public int Height
return int

Width public_oe property

public int Width
return int

scale public_oe property

public int scale
return int