GWT 2.7.0

com.google.gwt.dom.builder.shared
Interface CanvasBuilder

All Superinterfaces:
ElementBuilderBase<CanvasBuilder>
All Known Implementing Classes:
DomCanvasBuilder, HtmlCanvasBuilder

public interface CanvasBuilder
extends ElementBuilderBase<CanvasBuilder>

Builds an canvas element.


Method Summary
 CanvasBuilder height(int height)
          Sets the height of the canvas.
 CanvasBuilder width(int width)
          Sets the width of the canvas.
 
Methods inherited from interface com.google.gwt.dom.builder.shared.ElementBuilderBase
attribute, attribute, className, dir, draggable, end, end, endAnchor, endArea, endAudio, endBase, endBlockQuote, endBody, endBR, endButton, endCanvas, endCol, endColGroup, endDiv, endDList, endFieldSet, endForm, endFrame, endFrameSet, endH1, endH2, endH3, endH4, endH5, endH6, endHead, endHR, endIFrame, endImage, endInput, endLabel, endLegend, endLI, endLink, endMap, endMeta, endOList, endOptGroup, endOption, endParagraph, endParam, endPre, endQuote, endScript, endSelect, endSource, endSpan, endStyle, endTable, endTableCaption, endTBody, endTD, endTextArea, endTFoot, endTH, endTHead, endTR, endUList, endVideo, finish, getDepth, html, id, isChildElementSupported, isEndTagForbidden, lang, startAnchor, startArea, startAudio, startBase, startBlockQuote, startBody, startBR, startButtonInput, startCanvas, startCheckboxInput, startCol, startColGroup, startDiv, startDList, startFieldSet, startFileInput, startForm, startFrame, startFrameSet, startH1, startH2, startH3, startH4, startH5, startH6, startHead, startHiddenInput, startHR, startIFrame, startImage, startImageInput, startLabel, startLegend, startLI, startLink, startMap, startMeta, startOList, startOptGroup, startOption, startParagraph, startParam, startPasswordInput, startPre, startPushButton, startQuote, startRadioInput, startResetButton, startResetInput, startScript, startSelect, startSource, startSpan, startStyle, startSubmitButton, startSubmitInput, startTable, startTableCaption, startTBody, startTD, startTextArea, startTextInput, startTFoot, startTH, startTHead, startTR, startUList, startVideo, style, tabIndex, text, title, trustedStart
 

Method Detail

height

CanvasBuilder height(int height)
Sets the height of the canvas.

Parameters:
height - the height, in pixels

width

CanvasBuilder width(int width)
Sets the width of the canvas.

Parameters:
width - the width, in pixels

GWT 2.7.0