Inherits from JavaScript Object
Location aphid.g2d.Texture2D

Overview of Constructors

Overview of Tasks

Attributes

  • Type
  • bool
  • Size
  • Size
  • bool
  • int
  • float
  • float
  • Writability
  • readwrite
  • readonly
  • readonly
  • readonly
  • readonly
  • readonly
  • readonly

Functions

  • Return Type
  • string

Constructors

Texture2D(textureUrl)

new Texture2D(string textureUrl)

Parameters

Non-null string textureUrl

Attributes

antialias

readwrite bool antialias

contentSize

Non-null readonly Size contentSize

contentSizeInPixels

Non-null readonly Size contentSizeInPixels

hasPremultipliedAlpha

readonly bool hasPremultipliedAlpha

name

readonly int name

pixelHeight

readonly float pixelHeight

pixelWidth

readonly float pixelWidth

Functions

toString()

string toString()

Return Value: string