Interface Watchface


  • public interface Watchface
    Represents a watchface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void renderPreview​(ej.microui.display.GraphicsContext g, int x, int y, int size)
      Renders the preview of this watchface.
      void show()
      Shows this watchface.
    • Method Detail

      • renderPreview

        void renderPreview​(ej.microui.display.GraphicsContext g,
                           int x,
                           int y,
                           int size)
        Renders the preview of this watchface.
        Parameters:
        g - the graphics context to draw with.
        x - the x coordinate of the region to draw in.
        y - the y coordinate of the region to draw in.
        size - the width and height of the region to draw in.
      • show

        void show()
        Shows this watchface.