C# Class cadencii.java.awt.Graphics

Show file Open project: cadencii/cadencii Class Usage Examples

Public Properties

Property Type Description
brush System.Drawing.SolidBrush
color Color
m_font System.Drawing.Font
nativeGraphics System.Drawing.Graphics
stroke BasicStroke

Public Methods

Method Description
Graphics ( System g ) : System
clearRect ( int x, int y, int width, int height ) : void
clipRect ( int x, int y, int width, int height ) : void
drawImage ( System img, int x, int y, object obs ) : void
drawImage ( cadencii img, int x, int y, object obs ) : void
drawLine ( int x1, int y1, int x2, int y2 ) : void
drawOval ( int x, int y, int width, int height ) : void
drawPolygon ( Polygon p ) : void
drawPolygon ( int xPoints, int yPoints, int nPoints ) : void
drawPolyline ( int xPoints, int yPoints, int nPoints ) : void
drawRect ( int x, int y, int width, int height ) : void
drawString ( string str, float x, float y ) : void
fillOval ( int x, int y, int width, int height ) : void
fillPolygon ( Polygon p ) : void
fillPolygon ( int xPoints, int yPoints, int nPoints ) : void
fillRect ( int x, int y, int width, int height ) : void
getClip ( ) : Shape
getColor ( ) : Color
setClip ( Shape clip ) : void
setClip ( int x, int y, int width, int height ) : void
setColor ( Color c ) : void
setFont ( Font font ) : void

Method Details

Graphics() public method

public Graphics ( System g ) : System
g System
return System

clearRect() public method

public clearRect ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
return void

clipRect() public method

public clipRect ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
return void

drawImage() public method

public drawImage ( System img, int x, int y, object obs ) : void
img System
x int
y int
obs object
return void

drawImage() public method

public drawImage ( cadencii img, int x, int y, object obs ) : void
img cadencii
x int
y int
obs object
return void

drawLine() public method

public drawLine ( int x1, int y1, int x2, int y2 ) : void
x1 int
y1 int
x2 int
y2 int
return void

drawOval() public method

public drawOval ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
return void

drawPolygon() public method

public drawPolygon ( Polygon p ) : void
p Polygon
return void

drawPolygon() public method

public drawPolygon ( int xPoints, int yPoints, int nPoints ) : void
xPoints int
yPoints int
nPoints int
return void

drawPolyline() public method

public drawPolyline ( int xPoints, int yPoints, int nPoints ) : void
xPoints int
yPoints int
nPoints int
return void

drawRect() public method

public drawRect ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
return void

drawString() public method

public drawString ( string str, float x, float y ) : void
str string
x float
y float
return void

fillOval() public method

public fillOval ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
return void

fillPolygon() public method

public fillPolygon ( Polygon p ) : void
p Polygon
return void

fillPolygon() public method

public fillPolygon ( int xPoints, int yPoints, int nPoints ) : void
xPoints int
yPoints int
nPoints int
return void

fillRect() public method

public fillRect ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
return void

getClip() public method

public getClip ( ) : Shape
return Shape

getColor() public method

public getColor ( ) : Color
return Color

setClip() public method

public setClip ( Shape clip ) : void
clip Shape
return void

setClip() public method

public setClip ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
return void

setColor() public method

public setColor ( Color c ) : void
c Color
return void

setFont() public method

public setFont ( Font font ) : void
font Font
return void

Property Details

brush public property

public System.Drawing.SolidBrush brush
return System.Drawing.SolidBrush

color public property

public Color color
return Color

m_font public property

public System.Drawing.Font m_font
return System.Drawing.Font

nativeGraphics public property

public System.Drawing.Graphics nativeGraphics
return System.Drawing.Graphics

stroke public property

public BasicStroke stroke
return BasicStroke