Options
All
  • Public
  • Public/Protected
  • All
Menu

Object returned by TextureWorker.createTextureWithOverlays used to specify parameters for the texture made from multiple other textures, create it and write to storage.

since

3.0

Hierarchy

  • OverlaidTextureBuilder

Index

Methods

  • Adds an overlay by given path to the picture.

    since

    3.0

    Parameters

    • path: any_string

      absolute path of the directory, where the overlay's source texture is stored

    • name: any_string

      texture's name without .png

    Returns OverlaidTextureBuilder

    reference to itself to be used in sequential calls

  • Adds an overlay by given path to the picture, with the RGB(A?) color applied to it.

    since

    3.0

    Parameters

    • path: any_string

      absolute path to the directory, where the overlay's source texture is stored

    • name: any_string

      texture's name without .png

    • colorR: number
    • colorG: number
    • colorB: number
    • Optional colorA: number

    Returns OverlaidTextureBuilder

    reference to itself to be used in sequential calls

  • Adds an overlay represented as a android.graphics.Bitmap object.

    since

    3.0

    Parameters

    Returns OverlaidTextureBuilder

    reference to itself to be used in sequential calls

  • Adds an overlay represented as a android.graphics.Bitmap object, with the RGB(A?) color applied to it.

    since

    3.0

    Parameters

    • bitmap: Bitmap
    • colorR: number
    • colorG: number
    • colorB: number
    • Optional colorA: number

    Returns OverlaidTextureBuilder

    reference to itself to be used in sequential calls

  • Specifies the path to the resulting texture in the storage.

    since

    3.0

    Parameters

    • path: any_string

      absolute poth to the directory, where the resulting texture will be stored

    • name: any_string

      resulting texture's name without .png

    Returns OverlaidTextureBuilder

    reference to itself to be used in sequential calls

Generated using TypeDoc