C# Class Relative.DrawInfo

Exibir arquivo Open project: Arhirat/Relative Class Usage Examples

Public Properties

Property Type Description
mGraphics System.Drawing.Graphics
mHeight int
mWidth int

Public Methods

Method Description
DrawInfo ( int w, int h, Graphics g ) : System
drawEllipse ( Pen pen, Vec pos, double width, double height ) : void
drawLine ( Pen pen, Vec pos0, Vec pos1 ) : void
drawText ( String text, Vec pos ) : void

Method Details

DrawInfo() public method

public DrawInfo ( int w, int h, Graphics g ) : System
w int
h int
g System.Drawing.Graphics
return System

drawEllipse() public method

public drawEllipse ( Pen pen, Vec pos, double width, double height ) : void
pen System.Drawing.Pen
pos Vec
width double
height double
return void

drawLine() public method

public drawLine ( Pen pen, Vec pos0, Vec pos1 ) : void
pen System.Drawing.Pen
pos0 Vec
pos1 Vec
return void

drawText() public method

public drawText ( String text, Vec pos ) : void
text String
pos Vec
return void

Property Details

mGraphics public_oe property

public Graphics,System.Drawing mGraphics
return System.Drawing.Graphics

mHeight public_oe property

public int mHeight
return int

mWidth public_oe property

public int mWidth
return int