- bytes
const(ubyte)[] bytes()
Undocumented in source. Be warned that the author may not have intended to support it.
- pageWidth
float pageWidth()
Undocumented in source. Be warned that the author may not have intended to support it.
- pageHeight
float pageHeight()
Undocumented in source. Be warned that the author may not have intended to support it.
- save
void save()
Undocumented in source. Be warned that the author may not have intended to support it.
- restore
void restore()
Restore the graphical contect: transformation matrices.
- newPage
void newPage()
Start a new page, finish the previous one.
- fillStyle
void fillStyle(Brush brush)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillStyle
void fillStyle(const(char)[] color)
Undocumented in source. Be warned that the author may not have intended to support it.
- strokeStyle
void strokeStyle(Brush brush)
Undocumented in source. Be warned that the author may not have intended to support it.
- strokeStyle
void strokeStyle(const(char)[] color)
Undocumented in source. Be warned that the author may not have intended to support it.
- setLineDash
void setLineDash(float[] segments)
Undocumented in source. Be warned that the author may not have intended to support it.
- getLineDash
float[] getLineDash()
Undocumented in source. Be warned that the author may not have intended to support it.
- lineDashOffset
void lineDashOffset(float offset)
Undocumented in source. Be warned that the author may not have intended to support it.
- lineDashOffset
float lineDashOffset()
Undocumented in source. Be warned that the author may not have intended to support it.
- fillRect
void fillRect(float x, float y, float width, float height)
Undocumented in source. Be warned that the author may not have intended to support it.
- strokeRect
void strokeRect(float x, float y, float width, float height)
Undocumented in source. Be warned that the author may not have intended to support it.
- measureText
TextMetrics measureText(const(char)[] text)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillText
void fillText(const(char)[] text, float x, float y)
Undocumented in source. Be warned that the author may not have intended to support it.
- beginPath
void beginPath(float x, float y)
Undocumented in source. Be warned that the author may not have intended to support it.
- lineWidth
void lineWidth(float width)
Undocumented in source. Be warned that the author may not have intended to support it.
- lineTo
void lineTo(float dx, float dy)
Undocumented in source. Be warned that the author may not have intended to support it.
- fill
void fill()
Undocumented in source. Be warned that the author may not have intended to support it.
- stroke
void stroke()
Undocumented in source. Be warned that the author may not have intended to support it.
- fillAndStroke
void fillAndStroke()
Undocumented in source. Be warned that the author may not have intended to support it.
- closePath
void closePath()
Undocumented in source. Be warned that the author may not have intended to support it.
- fontFace
void fontFace(string fontFace)
Undocumented in source. Be warned that the author may not have intended to support it.
- fontWeight
void fontWeight(FontWeight fontWeight)
Undocumented in source. Be warned that the author may not have intended to support it.
- fontStyle
void fontStyle(FontStyle fontStyle)
Undocumented in source. Be warned that the author may not have intended to support it.
- fontSize
void fontSize(float size)
Undocumented in source. Be warned that the author may not have intended to support it.
- textAlign
void textAlign(TextAlign alignment)
Undocumented in source. Be warned that the author may not have intended to support it.
- textBaseline
void textBaseline(TextBaseline baseline)
Undocumented in source. Be warned that the author may not have intended to support it.
- scale
void scale(float x, float y)
Undocumented in source. Be warned that the author may not have intended to support it.
- translate
void translate(float dx, float dy)
Undocumented in source. Be warned that the author may not have intended to support it.
- rotate
void rotate(float angle)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawImage
void drawImage(Image image, float x, float y)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawImage
void drawImage(Image image, float x, float y, float width, float height)
Undocumented in source. Be warned that the author may not have intended to support it.
- getXMLHeader
string getXMLHeader()
Undocumented in source. Be warned that the author may not have intended to support it.
Renders 2D commands in a HTML file. This simply embed a SVG inside.