Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands

Index

Functions

Functions

image

  • Generate the meme of an expression.

    Parameters

    • expression: Expression

      the expression to generate

    Returns string

    a URL for the image generated by the expression, according to the language definition in the PS3 handout. This URL is most likely to be a data: URL (see Canvas.toDataURL()).

size

  • Compute the size of an image expression.

    Parameters

    • expression: Expression

      the meme expression to use

    Returns string

    "WxH" (in the same syntax as the corresponding part of the @ resize operator) representing the width W and height H of the image generated by the expression, according to the language definition in the PS3 handout

Generated using TypeDoc