C# Class com.codename1.impl.WindowsGraphics

Mostra file Open project: Pmovil/CN1WindowsPort Class Usage Examples

Public Methods

Method Description
WindowsGraphics ( Microsoft.Graphics.Canvas.CanvasDrawingSession graphics ) : System.Numerics

Private Methods

Method Description
clear ( ) : void
dispose ( ) : void
drawArc ( int x, int y, int w, int h, int startAngle, int arcAngle ) : void
drawImage ( Microsoft.Graphics.Canvas.CanvasBitmap canvasBitmap, int x, int y ) : void
drawImage ( Microsoft.Graphics.Canvas.CanvasBitmap canvasBitmap, int x, int y, int w, int h ) : void
drawLine ( int x1, int y1, int x2, int y2 ) : void
drawRect ( int x, int y, int w, int h, int stroke ) : void
drawRoundRect ( int x, int y, int w, int h, int arcW, int arcH ) : void
drawString ( string str, int x, int y ) : void
fillArc ( int x, int y, int w, int h, int startAngle, int arcAngle ) : void
fillLinearGradient ( int startColor, int endColor, int x, int y, int width, int height, bool horizontal ) : void
fillPolygon ( int p1, int p2 ) : void
fillRadialGradient ( int startColor, int endColor, int x, int y, int width, int height ) : void
fillRect ( int x, int y, int w, int h ) : void
fillRoundRect ( int x, int y, int w, int h, int arcW, int arcH ) : void
getAlpha ( ) : int
getColor ( ) : int
getFont ( ) : Microsoft.Graphics.Canvas.Text.CanvasTextFormat
image2Premultiply ( ICanvasImage aImage ) : ICanvasImage
isDisposed ( ) : bool
isMutable ( ) : bool
removeClip ( ) : void
setAlpha ( int p ) : void
setClip ( com.codename1.ui.geom.Rectangle clip ) : void
setColor ( int p ) : void
setFont ( Microsoft.Graphics.Canvas.Text.CanvasTextFormat font ) : void
setGraphics ( Microsoft.Graphics.Canvas.CanvasDrawingSession graphics ) : void
tileImage ( Microsoft.Graphics.Canvas.CanvasBitmap canvasBitmap, int x, int y, int w, int h ) : void

Method Details

WindowsGraphics() public method

public WindowsGraphics ( Microsoft.Graphics.Canvas.CanvasDrawingSession graphics ) : System.Numerics
graphics Microsoft.Graphics.Canvas.CanvasDrawingSession
return System.Numerics