C# Class Praeclarum.Graphics.AndroidGraphics

Inheritance: IGraphics
Afficher le fichier Open project: praeclarum/Praeclarum

Méthodes publiques

Méthode Description
AndroidGraphics ( Android.Graphics.Canvas canvas ) : System
BeginEntity ( object entity ) : void
BeginLines ( bool rounded ) : void
Clear ( Color c ) : void
DrawArc ( float cx, float cy, float radius, float startAngle, float endAngle, float w ) : void
DrawImage ( IImage img, float x, float y, float width, float height ) : void
DrawLine ( float sx, float sy, float ex, float ey, float w ) : void
DrawOval ( float x, float y, float width, float height, float w ) : void
DrawPolygon ( Polygon poly, float w ) : void
DrawRect ( float x, float y, float width, float height, float w ) : void
DrawRoundedRect ( float x, float y, float width, float height, float radius, float w ) : void
DrawString ( string s, float x, float y ) : void
DrawString ( string s, float x, float y, float width, float height, LineBreakMode lineBreak, TextAlignment align ) : void
EndLines ( ) : void
FillArc ( float cx, float cy, float radius, float startAngle, float endAngle ) : void
FillOval ( float x, float y, float width, float height ) : void
FillPolygon ( Polygon poly ) : void
FillRect ( float x, float y, float width, float height ) : void
FillRoundedRect ( float x, float y, float width, float height, float radius ) : void
GetFontMetrics ( ) : IFontMetrics
GetFontMetrics ( Font font ) : IFontMetrics
ImageFromFile ( string path ) : IImage
RestoreState ( ) : void
SaveState ( ) : void
Scale ( float sx, float sy ) : void
SetClippingRect ( float x, float y, float width, float height ) : void
SetColor ( Color c ) : void
SetFont ( Font font ) : void
SetGradient ( Gradient g ) : void
Translate ( float dx, float dy ) : void

Private Methods

Méthode Description
ApplyFontToPaint ( Font f, Paint p ) : void
GetFontInfo ( Font f ) : AndroidFontInfo
GetPolyPath ( Polygon poly ) : Android.Graphics.Path
SetFontOnPaints ( ) : void

Method Details

AndroidGraphics() public méthode

public AndroidGraphics ( Android.Graphics.Canvas canvas ) : System
canvas Android.Graphics.Canvas
Résultat System

BeginEntity() public méthode

public BeginEntity ( object entity ) : void
entity object
Résultat void

BeginLines() public méthode

public BeginLines ( bool rounded ) : void
rounded bool
Résultat void

Clear() public méthode

public Clear ( Color c ) : void
c Color
Résultat void

DrawArc() public méthode

public DrawArc ( float cx, float cy, float radius, float startAngle, float endAngle, float w ) : void
cx float
cy float
radius float
startAngle float
endAngle float
w float
Résultat void

DrawImage() public méthode

public DrawImage ( IImage img, float x, float y, float width, float height ) : void
img IImage
x float
y float
width float
height float
Résultat void

DrawLine() public méthode

public DrawLine ( float sx, float sy, float ex, float ey, float w ) : void
sx float
sy float
ex float
ey float
w float
Résultat void

DrawOval() public méthode

public DrawOval ( float x, float y, float width, float height, float w ) : void
x float
y float
width float
height float
w float
Résultat void

DrawPolygon() public méthode

public DrawPolygon ( Polygon poly, float w ) : void
poly Polygon
w float
Résultat void

DrawRect() public méthode

public DrawRect ( float x, float y, float width, float height, float w ) : void
x float
y float
width float
height float
w float
Résultat void

DrawRoundedRect() public méthode

public DrawRoundedRect ( float x, float y, float width, float height, float radius, float w ) : void
x float
y float
width float
height float
radius float
w float
Résultat void

DrawString() public méthode

public DrawString ( string s, float x, float y ) : void
s string
x float
y float
Résultat void

DrawString() public méthode

public DrawString ( string s, float x, float y, float width, float height, LineBreakMode lineBreak, TextAlignment align ) : void
s string
x float
y float
width float
height float
lineBreak LineBreakMode
align TextAlignment
Résultat void

EndLines() public méthode

public EndLines ( ) : void
Résultat void

FillArc() public méthode

public FillArc ( float cx, float cy, float radius, float startAngle, float endAngle ) : void
cx float
cy float
radius float
startAngle float
endAngle float
Résultat void

FillOval() public méthode

public FillOval ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Résultat void

FillPolygon() public méthode

public FillPolygon ( Polygon poly ) : void
poly Polygon
Résultat void

FillRect() public méthode

public FillRect ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Résultat void

FillRoundedRect() public méthode

public FillRoundedRect ( float x, float y, float width, float height, float radius ) : void
x float
y float
width float
height float
radius float
Résultat void

GetFontMetrics() public méthode

public GetFontMetrics ( ) : IFontMetrics
Résultat IFontMetrics

GetFontMetrics() public static méthode

public static GetFontMetrics ( Font font ) : IFontMetrics
font Font
Résultat IFontMetrics

ImageFromFile() public méthode

public ImageFromFile ( string path ) : IImage
path string
Résultat IImage

RestoreState() public méthode

public RestoreState ( ) : void
Résultat void

SaveState() public méthode

public SaveState ( ) : void
Résultat void

Scale() public méthode

public Scale ( float sx, float sy ) : void
sx float
sy float
Résultat void

SetClippingRect() public méthode

public SetClippingRect ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Résultat void

SetColor() public méthode

public SetColor ( Color c ) : void
c Color
Résultat void

SetFont() public méthode

public SetFont ( Font font ) : void
font Font
Résultat void

SetGradient() public méthode

public SetGradient ( Gradient g ) : void
g Gradient
Résultat void

Translate() public méthode

public Translate ( float dx, float dy ) : void
dx float
dy float
Résultat void