1
Wii U Memo API
Jay edited this page 2020-11-27 21:46:43 -06:00

wiiuMemo is a global JavaScript object that exposes an API for interacting with the Miiverse drawing tool.

Methods

Methods

open(reset)

  • Arguments:

    • {bool} Indicate if you want to erase the last drawing or not
  • Usage:

    Open the drawing tool interface

openWithImage()

  • Arguments:

    • Unknown
  • Returns: Unknown

  • Usage:

    Open's the drawing tool with an existing image.

reset()

  • Usage:

    Erases the last drawing from the drawing tool

setStamp()

  • Arguments:

    • Unknown
  • Returns: Unknown

  • Usage:

    Sets the stamp that can be used in the drawing tool. Example

isFinish()

  • Returns: {bool}

  • Usage:

    Returns if the drawing tool is open or not

getImage(isTga)

  • Arguments:

    • {bool} Indicate if the returned image should be a TGA or a png
  • Returns: {bool}

  • Usage:

    Returns the drawing from the drawing tool