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.alpha

object.anchorX

object.anchorY

object.blendMode

object.contentBounds (read-only)

object.contentHeight (read-only)

object.contentWidth (read-only)

object.height

object.isHitTestMasked

object.isHitTestable

object.isVisible

object.maskRotation

object.maskScaleX

object.maskScaleY

object.maskX

object.maskY

object.parent (read-only)

object.rotation

object.width

object.x

object.xScale

object.y

object.yScale

object._defined (read-only)

object._lastChange (read-only)

object._properties (read-only)

Methods

(Inherits methods from EventDispatcher)

object:contentToLocal()

object:localToContent()

object:removeSelf()

object:rotate()

object:scale()

object:setMask()

object:toBack()

object:toFront()

object:translate()