q5play
    Preparing search index...

    Function plane

    • ⚡ A plane is a centered rectangle with no stroke.

      Parameters

      • x: number

        center x

      • y: number

        center y

      • w: number

        width or side length

      • Optionalh: number

        height

      Returns void

      await Canvas(200);
      plane(0, 0, 100);