Skip to content

Wii U Memo API

Jay edited this page Nov 28, 2020 · 1 revision

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