Class DomCanvasBuilder

    • Constructor Detail

    • Method Detail

      • height

        public CanvasBuilder height​(int height)
        Description copied from interface: CanvasBuilder
        Sets the height of the canvas.
        Specified by:
        height in interface CanvasBuilder
        Parameters:
        height - the height, in pixels
      • width

        public CanvasBuilder width​(int width)
        Description copied from interface: CanvasBuilder
        Sets the width of the canvas.
        Specified by:
        width in interface CanvasBuilder
        Parameters:
        width - the width, in pixels