DisplayObject

Parent EventDispatcher
Library display.*
Revision Release 2024.3703
Keywords display object
See also display.newImage()
display.newImageRect()
display.newGroup()
display.newCircle()
display.newPolygon()
display.newRect()
display.newRoundedRect()
display.newLine()
display.newText()
display.newSprite()

Overview

All drawing that occurs on the screen is accomplished by creating display objects. Anything that appears on the screen is an instance of a display object.

Properties

(Inherits properties from EventDispatcher)

object.contentBounds (read-only)

object.contentHeight (read-only)

object.contentWidth (read-only)

object.parent (read-only)

object._defined (read-only)

object._lastChange (read-only)

object._properties (read-only)

Methods

(Inherits methods from EventDispatcher)

object:translate()