Function ninePatch

  • Draw a rectangle using the nine-patch method

    Parameters

    • tiles: TileSet

      The tile set containing the nine-patch

    • x: number

      The x co-ordinate fo the top left of the rectangle

    • y: number

      The y co-ordinate fo the top left of the rectangle

    • width: number

      The width of the rectangle to draw

    • height: number

      The height of the rectangle to draw

    • Optional col: string

      The color tint to apply

    Returns void

Generated using TypeDoc