Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsICanvasRenderingContext2D Interface Reference

import "nsICanvasRenderingContext2D.idl";

Inheritance diagram for nsICanvasRenderingContext2D:
Inheritance graph
[legend]
Collaboration diagram for nsICanvasRenderingContext2D:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void save ()
void restore ()
void scale (in float x, in float y)
void rotate (in float angle)
void translate (in float x, in float y)
nsICanvasGradient createLinearGradient (in float x0, in float y0, in float x1, in float y1)
nsICanvasGradient createRadialGradient (in float x0, in float y0, in float r0, in float x1, in float y1, in float r1)
nsICanvasPattern createPattern (in nsIDOMHTMLImageElement image, in DOMString repetition)
void clearRect (in float x, in float y, in float w, in float h)
void fillRect (in float x, in float y, in float w, in float h)
void strokeRect (in float x, in float y, in float w, in float h)
void beginPath ()
void closePath ()
void moveTo (in float x, in float y)
void lineTo (in float x, in float y)
void quadraticCurveTo (in float cpx, in float cpy, in float x, in float y)
void bezierCurveTo (in float cp1x, in float cp1y, in float cp2x, in float cp2y, in float x, in float y)
void arcTo (in float x1, in float y1, in float x2, in float y2, in float radius)
void arc (in float x, in float y, in float r, in float startAngle, in float endAngle, in boolean clockwise)
void rect (in float x, in float y, in float w, in float h)
void fill ()
void stroke ()
void clip ()
void drawImage ()

Public Attributes

readonly attribute nsIBoxObject canvas
attribute float globalAlpha
attribute DOMString globalCompositeOperation
attribute DOMString strokeStyle
attribute DOMString fillStyle
attribute float lineWidth
attribute DOMString lineCap
attribute DOMString lineJoin
attribute float miterLimit
attribute float shadowOffsetX
attribute float shadowOffsetY
attribute float shadowBlur
attribute DOMString shadowColor

Detailed Description

Definition at line 55 of file nsICanvasRenderingContext2D.idl.


Member Function Documentation

void nsICanvasRenderingContext2D::arc ( in float  x,
in float  y,
in float  r,
in float  startAngle,
in float  endAngle,
in boolean  clockwise 
)
void nsICanvasRenderingContext2D::arcTo ( in float  x1,
in float  y1,
in float  x2,
in float  y2,
in float  radius 
)
void nsICanvasRenderingContext2D::bezierCurveTo ( in float  cp1x,
in float  cp1y,
in float  cp2x,
in float  cp2y,
in float  x,
in float  y 
)
void nsICanvasRenderingContext2D::clearRect ( in float  x,
in float  y,
in float  w,
in float  h 
)
nsICanvasGradient nsICanvasRenderingContext2D::createLinearGradient ( in float  x0,
in float  y0,
in float  x1,
in float  y1 
)
nsICanvasGradient nsICanvasRenderingContext2D::createRadialGradient ( in float  x0,
in float  y0,
in float  r0,
in float  x1,
in float  y1,
in float  r1 
)
void nsICanvasRenderingContext2D::fillRect ( in float  x,
in float  y,
in float  w,
in float  h 
)
void nsICanvasRenderingContext2D::lineTo ( in float  x,
in float  y 
)
void nsICanvasRenderingContext2D::moveTo ( in float  x,
in float  y 
)
void nsICanvasRenderingContext2D::quadraticCurveTo ( in float  cpx,
in float  cpy,
in float  x,
in float  y 
)
void nsICanvasRenderingContext2D::rect ( in float  x,
in float  y,
in float  w,
in float  h 
)
void nsICanvasRenderingContext2D::scale ( in float  x,
in float  y 
)
void nsICanvasRenderingContext2D::strokeRect ( in float  x,
in float  y,
in float  w,
in float  h 
)
void nsICanvasRenderingContext2D::translate ( in float  x,
in float  y 
)

Member Data Documentation

Definition at line 58 of file nsICanvasRenderingContext2D.idl.

Definition at line 75 of file nsICanvasRenderingContext2D.idl.

Definition at line 70 of file nsICanvasRenderingContext2D.idl.

Definition at line 71 of file nsICanvasRenderingContext2D.idl.

Definition at line 82 of file nsICanvasRenderingContext2D.idl.

Definition at line 83 of file nsICanvasRenderingContext2D.idl.

Definition at line 81 of file nsICanvasRenderingContext2D.idl.

Definition at line 84 of file nsICanvasRenderingContext2D.idl.

Definition at line 89 of file nsICanvasRenderingContext2D.idl.

Definition at line 90 of file nsICanvasRenderingContext2D.idl.

Definition at line 87 of file nsICanvasRenderingContext2D.idl.

Definition at line 88 of file nsICanvasRenderingContext2D.idl.

Definition at line 74 of file nsICanvasRenderingContext2D.idl.


The documentation for this interface was generated from the following file: