C# Class Gecko.WebIDL.CanvasRenderingContext2D

Inheritance: Gecko.WebIDL.WebIDLBase
Show file Open project: EbramTawfik/GeckoFX

Public Methods

Method Description
AddHitRegion ( ) : void
AddHitRegion ( object options ) : void
AsyncDrawXULElement ( nsISupports elem, double x, double y, double w, double h, string bgColor ) : void
AsyncDrawXULElement ( nsISupports elem, double x, double y, double w, double h, string bgColor, uint flags ) : void
BeginPath ( ) : void
CanvasRenderingContext2D ( nsIDOMWindow globalWindow, nsISupports thisObject ) : System
ClearHitRegions ( ) : void
ClearRect ( double x, double y, double w, double h ) : void
Clip ( ) : void
Clip ( CanvasWindingRule winding ) : void
Clip ( nsISupports path ) : void
Clip ( nsISupports path, CanvasWindingRule winding ) : void
CreateImageData ( double sw, double sh ) : nsISupports
CreateImageData ( nsISupports imagedata ) : nsISupports
CreateLinearGradient ( double x0, double y0, double x1, double y1 ) : nsISupports
CreatePattern ( Gecko.WebIDL.WebIDLUnion image, string repetition ) : nsISupports
CreateRadialGradient ( double x0, double y0, double r0, double x1, double y1, double r1 ) : nsISupports
Demote ( ) : void
DrawCustomFocusRing ( nsIDOMElement element ) : bool
DrawFocusIfNeeded ( nsIDOMElement element ) : void
DrawImage ( Gecko.WebIDL.WebIDLUnion image, double dx, double dy ) : void
DrawImage ( Gecko.WebIDL.WebIDLUnion image, double dx, double dy, double dw, double dh ) : void
DrawImage ( Gecko.WebIDL.WebIDLUnion image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh ) : void
DrawWidgetAsOnScreen ( nsIDOMWindow window ) : void
DrawWindow ( nsIDOMWindow window, double x, double y, double w, double h, string bgColor ) : void
DrawWindow ( nsIDOMWindow window, double x, double y, double w, double h, string bgColor, uint flags ) : void
Fill ( ) : void
Fill ( CanvasWindingRule winding ) : void
Fill ( nsISupports path ) : void
Fill ( nsISupports path, CanvasWindingRule winding ) : void
FillRect ( double x, double y, double w, double h ) : void
FillText ( string text, double x, double y ) : void
FillText ( string text, double x, double y, double maxWidth ) : void
GetImageData ( double sx, double sy, double sw, double sh ) : nsISupports
IsPointInPath ( double x, double y ) : bool
IsPointInPath ( double x, double y, CanvasWindingRule winding ) : bool
IsPointInPath ( nsISupports path, double x, double y ) : bool
IsPointInPath ( nsISupports path, double x, double y, CanvasWindingRule winding ) : bool
IsPointInStroke ( double x, double y ) : bool
IsPointInStroke ( nsISupports path, double x, double y ) : bool
MeasureText ( string text ) : nsISupports
PutImageData ( nsISupports imagedata, double dx, double dy ) : void
PutImageData ( nsISupports imagedata, double dx, double dy, double dirtyX, double dirtyY, double dirtyWidth, double dirtyHeight ) : void
RemoveHitRegion ( string id ) : void
ResetTransform ( ) : void
Restore ( ) : void
Rotate ( double angle ) : void
Save ( ) : void
Scale ( double x, double y ) : void
SetTransform ( double a, double b, double c, double d, double e, double f ) : void
Stroke ( ) : void
Stroke ( nsISupports path ) : void
StrokeRect ( double x, double y, double w, double h ) : void
StrokeText ( string text, double x, double y ) : void
StrokeText ( string text, double x, double y, double maxWidth ) : void
Transform ( double a, double b, double c, double d, double e, double f ) : void
Translate ( double x, double y ) : void

Method Details

AddHitRegion() public method

public AddHitRegion ( ) : void
return void

AddHitRegion() public method

public AddHitRegion ( object options ) : void
options object
return void

AsyncDrawXULElement() public method

public AsyncDrawXULElement ( nsISupports elem, double x, double y, double w, double h, string bgColor ) : void
elem nsISupports
x double
y double
w double
h double
bgColor string
return void

AsyncDrawXULElement() public method

public AsyncDrawXULElement ( nsISupports elem, double x, double y, double w, double h, string bgColor, uint flags ) : void
elem nsISupports
x double
y double
w double
h double
bgColor string
flags uint
return void

BeginPath() public method

public BeginPath ( ) : void
return void

CanvasRenderingContext2D() public method

public CanvasRenderingContext2D ( nsIDOMWindow globalWindow, nsISupports thisObject ) : System
globalWindow nsIDOMWindow
thisObject nsISupports
return System

ClearHitRegions() public method

public ClearHitRegions ( ) : void
return void

ClearRect() public method

public ClearRect ( double x, double y, double w, double h ) : void
x double
y double
w double
h double
return void

Clip() public method

public Clip ( ) : void
return void

Clip() public method

public Clip ( CanvasWindingRule winding ) : void
winding CanvasWindingRule
return void

Clip() public method

public Clip ( nsISupports path ) : void
path nsISupports
return void

Clip() public method

public Clip ( nsISupports path, CanvasWindingRule winding ) : void
path nsISupports
winding CanvasWindingRule
return void

CreateImageData() public method

public CreateImageData ( double sw, double sh ) : nsISupports
sw double
sh double
return nsISupports

CreateImageData() public method

public CreateImageData ( nsISupports imagedata ) : nsISupports
imagedata nsISupports
return nsISupports

CreateLinearGradient() public method

public CreateLinearGradient ( double x0, double y0, double x1, double y1 ) : nsISupports
x0 double
y0 double
x1 double
y1 double
return nsISupports

CreatePattern() public method

public CreatePattern ( Gecko.WebIDL.WebIDLUnion image, string repetition ) : nsISupports
image Gecko.WebIDL.WebIDLUnion
repetition string
return nsISupports

CreateRadialGradient() public method

public CreateRadialGradient ( double x0, double y0, double r0, double x1, double y1, double r1 ) : nsISupports
x0 double
y0 double
r0 double
x1 double
y1 double
r1 double
return nsISupports

Demote() public method

public Demote ( ) : void
return void

DrawCustomFocusRing() public method

public DrawCustomFocusRing ( nsIDOMElement element ) : bool
element nsIDOMElement
return bool

DrawFocusIfNeeded() public method

public DrawFocusIfNeeded ( nsIDOMElement element ) : void
element nsIDOMElement
return void

DrawImage() public method

public DrawImage ( Gecko.WebIDL.WebIDLUnion image, double dx, double dy ) : void
image Gecko.WebIDL.WebIDLUnion
dx double
dy double
return void

DrawImage() public method

public DrawImage ( Gecko.WebIDL.WebIDLUnion image, double dx, double dy, double dw, double dh ) : void
image Gecko.WebIDL.WebIDLUnion
dx double
dy double
dw double
dh double
return void

DrawImage() public method

public DrawImage ( Gecko.WebIDL.WebIDLUnion image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh ) : void
image Gecko.WebIDL.WebIDLUnion
sx double
sy double
sw double
sh double
dx double
dy double
dw double
dh double
return void

DrawWidgetAsOnScreen() public method

public DrawWidgetAsOnScreen ( nsIDOMWindow window ) : void
window nsIDOMWindow
return void

DrawWindow() public method

public DrawWindow ( nsIDOMWindow window, double x, double y, double w, double h, string bgColor ) : void
window nsIDOMWindow
x double
y double
w double
h double
bgColor string
return void

DrawWindow() public method

public DrawWindow ( nsIDOMWindow window, double x, double y, double w, double h, string bgColor, uint flags ) : void
window nsIDOMWindow
x double
y double
w double
h double
bgColor string
flags uint
return void

Fill() public method

public Fill ( ) : void
return void

Fill() public method

public Fill ( CanvasWindingRule winding ) : void
winding CanvasWindingRule
return void

Fill() public method

public Fill ( nsISupports path ) : void
path nsISupports
return void

Fill() public method

public Fill ( nsISupports path, CanvasWindingRule winding ) : void
path nsISupports
winding CanvasWindingRule
return void

FillRect() public method

public FillRect ( double x, double y, double w, double h ) : void
x double
y double
w double
h double
return void

FillText() public method

public FillText ( string text, double x, double y ) : void
text string
x double
y double
return void

FillText() public method

public FillText ( string text, double x, double y, double maxWidth ) : void
text string
x double
y double
maxWidth double
return void

GetImageData() public method

public GetImageData ( double sx, double sy, double sw, double sh ) : nsISupports
sx double
sy double
sw double
sh double
return nsISupports

IsPointInPath() public method

public IsPointInPath ( double x, double y ) : bool
x double
y double
return bool

IsPointInPath() public method

public IsPointInPath ( double x, double y, CanvasWindingRule winding ) : bool
x double
y double
winding CanvasWindingRule
return bool

IsPointInPath() public method

public IsPointInPath ( nsISupports path, double x, double y ) : bool
path nsISupports
x double
y double
return bool

IsPointInPath() public method

public IsPointInPath ( nsISupports path, double x, double y, CanvasWindingRule winding ) : bool
path nsISupports
x double
y double
winding CanvasWindingRule
return bool

IsPointInStroke() public method

public IsPointInStroke ( double x, double y ) : bool
x double
y double
return bool

IsPointInStroke() public method

public IsPointInStroke ( nsISupports path, double x, double y ) : bool
path nsISupports
x double
y double
return bool

MeasureText() public method

public MeasureText ( string text ) : nsISupports
text string
return nsISupports

PutImageData() public method

public PutImageData ( nsISupports imagedata, double dx, double dy ) : void
imagedata nsISupports
dx double
dy double
return void

PutImageData() public method

public PutImageData ( nsISupports imagedata, double dx, double dy, double dirtyX, double dirtyY, double dirtyWidth, double dirtyHeight ) : void
imagedata nsISupports
dx double
dy double
dirtyX double
dirtyY double
dirtyWidth double
dirtyHeight double
return void

RemoveHitRegion() public method

public RemoveHitRegion ( string id ) : void
id string
return void

ResetTransform() public method

public ResetTransform ( ) : void
return void

Restore() public method

public Restore ( ) : void
return void

Rotate() public method

public Rotate ( double angle ) : void
angle double
return void

Save() public method

public Save ( ) : void
return void

Scale() public method

public Scale ( double x, double y ) : void
x double
y double
return void

SetTransform() public method

public SetTransform ( double a, double b, double c, double d, double e, double f ) : void
a double
b double
c double
d double
e double
f double
return void

Stroke() public method

public Stroke ( ) : void
return void

Stroke() public method

public Stroke ( nsISupports path ) : void
path nsISupports
return void

StrokeRect() public method

public StrokeRect ( double x, double y, double w, double h ) : void
x double
y double
w double
h double
return void

StrokeText() public method

public StrokeText ( string text, double x, double y ) : void
text string
x double
y double
return void

StrokeText() public method

public StrokeText ( string text, double x, double y, double maxWidth ) : void
text string
x double
y double
maxWidth double
return void

Transform() public method

public Transform ( double a, double b, double c, double d, double e, double f ) : void
a double
b double
c double
d double
e double
f double
return void

Translate() public method

public Translate ( double x, double y ) : void
x double
y double
return void