Interface CanvasControl

All Superinterfaces:
AriaControlProperties, BackgroundStyleProperties, BorderStyleProperties, Control, Element, EventOwner, MarginStyleProperties, MessageContainer, PaddingStyleProperties, java.io.Serializable, WebFormEventOwner

public interface CanvasControl
extends Control, BackgroundStyleProperties, MarginStyleProperties, PaddingStyleProperties, BorderStyleProperties, AriaControlProperties
A Canvas Control represents an HTML <canvas> tag.

Further documentation.

  • Method Details

    • getCanvasWidth

      java.lang.String getCanvasWidth()
      Canvas width. See setCanvasWidth(String) for details of supported values when setting this property.
      Since:
      V5.5
    • setCanvasWidth

      void setCanvasWidth​(java.lang.String imageWidth)
      Sets the canvas width.

      Any valid value for the CSS width property can be specified e.g. 300px

      Since:
      V5.5
    • getCanvasHeight

      java.lang.String getCanvasHeight()
      Canvas height. See setCanvasHeight(String) for details of supported values when setting this property.
      Since:
      V5.5
    • setCanvasHeight

      void setCanvasHeight​(java.lang.String imageHeight)
      Sets the canvas height.

      Any valid value for the CSS height property can be specified e.g. 300px

      Since:
      V5.5