C# Class Mike.Spikes.SvgGenerator.Svg

ファイルを表示 Open project: mikehadlow/Mike.Spikes Class Usage Examples

Public Methods

Method Description
Circle ( int r ) : void
Element ( string name ) : System.Xml.Linq.XElement
Elipse ( int rx, int ry ) : void
Line ( int x, int y ) : void
Move ( int x, int y ) : void
Rectangle ( int width, int height ) : void
SetPosition ( int x, int y ) : void
SetUnit ( string unit ) : void
SizeAttribute ( string name, int value ) : System.Xml.Linq.XAttribute
Style ( ) : System.Xml.Linq.XAttribute
Svg ( ) : System
ToString ( ) : string

Private Methods

Method Description
GetUnit ( ) : string

Method Details

Circle() public method

public Circle ( int r ) : void
r int
return void

Element() public method

public Element ( string name ) : System.Xml.Linq.XElement
name string
return System.Xml.Linq.XElement

Elipse() public method

public Elipse ( int rx, int ry ) : void
rx int
ry int
return void

Line() public method

public Line ( int x, int y ) : void
x int
y int
return void

Move() public method

public Move ( int x, int y ) : void
x int
y int
return void

Rectangle() public method

public Rectangle ( int width, int height ) : void
width int
height int
return void

SetPosition() public method

public SetPosition ( int x, int y ) : void
x int
y int
return void

SetUnit() public method

public SetUnit ( string unit ) : void
unit string
return void

SizeAttribute() public method

public SizeAttribute ( string name, int value ) : System.Xml.Linq.XAttribute
name string
value int
return System.Xml.Linq.XAttribute

Style() public method

public Style ( ) : System.Xml.Linq.XAttribute
return System.Xml.Linq.XAttribute

Svg() public method

public Svg ( ) : System
return System

ToString() public method

public ToString ( ) : string
return string