Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Image

Image

Utility class to load images(s).

Hierarchy

  • Image

Index

Properties

height

height: number

Gets the height of this image.

type

number

width

width: number

Gets the width of this image.

type

number

Methods

Static imageNamed

  • imageNamed(name: string): Image
  • Returns an image object associated with the specified name.

    name

    name The name of the "image" to use.

    The input name is the file name including the extension. example: watermark.png

    Parameters

    • name: string

    Returns Image

Static transparentImage

  • transparentImage(): Image
  • Returns a clear "transparent" image.

    see

    imageNamed

    Returns Image

Generated using TypeDoc