Interface CanvasBuilder

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

public interface CanvasBuilder extends ElementBuilderBase<CanvasBuilder>
Builds an canvas element.
  • Method Details

    • 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