C# Class PixelArtUpscaler.Image.SVGDocument

Afficher le fichier Open project: michaelrbk/pixelart-vectorizer Class Usage Examples

Méthodes publiques

Méthode Description
CloseGroup ( ) : void
DrawCellBorder ( bool draw ) : void
DrawCircle ( Color fillColor, Color strokeColor, double strokeThickness, double X, double Y, double radius ) : void
DrawEllipse ( Color fillColor, Color strokeColor, double strokeThickness, Point centre, double radiusX, double radiusY ) : void
DrawLine ( Color color, double strokeThickness, double x1, double y1, double x2, double y2 ) : void
DrawPath ( Color fillColor, Color strokeColor, double strokeThickness, string data ) : void
DrawPolygon ( Color fillColor, Color strokeColor, double strokeThickness, string data ) : void
DrawRectangle ( Color fillColor, Color strokeColor, double strokeThickness, double X, double Y, double width, double height ) : void
DrawText ( string text, double emSize, Color foreground, Point origin ) : void
SVGDocument ( ) : System
SVGDocument ( double width, double height ) : System
Save ( string path ) : void
StartGroup ( ) : void

Private Methods

Méthode Description
Color2String ( Color c ) : string
String2Color ( string sColor ) : Color

Method Details

CloseGroup() public méthode

public CloseGroup ( ) : void
Résultat void

DrawCellBorder() public méthode

public DrawCellBorder ( bool draw ) : void
draw bool
Résultat void

DrawCircle() public méthode

public DrawCircle ( Color fillColor, Color strokeColor, double strokeThickness, double X, double Y, double radius ) : void
fillColor Color
strokeColor Color
strokeThickness double
X double
Y double
radius double
Résultat void

DrawEllipse() public méthode

public DrawEllipse ( Color fillColor, Color strokeColor, double strokeThickness, Point centre, double radiusX, double radiusY ) : void
fillColor Color
strokeColor Color
strokeThickness double
centre Point
radiusX double
radiusY double
Résultat void

DrawLine() public méthode

public DrawLine ( Color color, double strokeThickness, double x1, double y1, double x2, double y2 ) : void
color Color
strokeThickness double
x1 double
y1 double
x2 double
y2 double
Résultat void

DrawPath() public méthode

public DrawPath ( Color fillColor, Color strokeColor, double strokeThickness, string data ) : void
fillColor Color
strokeColor Color
strokeThickness double
data string
Résultat void

DrawPolygon() public méthode

public DrawPolygon ( Color fillColor, Color strokeColor, double strokeThickness, string data ) : void
fillColor Color
strokeColor Color
strokeThickness double
data string
Résultat void

DrawRectangle() public méthode

public DrawRectangle ( Color fillColor, Color strokeColor, double strokeThickness, double X, double Y, double width, double height ) : void
fillColor Color
strokeColor Color
strokeThickness double
X double
Y double
width double
height double
Résultat void

DrawText() public méthode

public DrawText ( string text, double emSize, Color foreground, Point origin ) : void
text string
emSize double
foreground Color
origin Point
Résultat void

SVGDocument() public méthode

public SVGDocument ( ) : System
Résultat System

SVGDocument() public méthode

public SVGDocument ( double width, double height ) : System
width double
height double
Résultat System

Save() public méthode

public Save ( string path ) : void
path string
Résultat void

StartGroup() public méthode

public StartGroup ( ) : void
Résultat void