ShapeObject

Parent DisplayObject
Library display.*
Revision Release 2024.3703
Keywords shape
See also Shapes — Paths, Fills, Strokes (guide)
display.newImage()
display.newImageRect()
display.newCircle()
display.newPolygon()
display.newRect()
display.newRoundedRect()
display.newLine()

Overview

Vector display objects are objects created without the use of images, such as rectangles, circles, rounded rectangles, and lines.

Properties

(Inherits properties from DisplayObject)

object.fill

object.fillVertexCount

object.path

object.stroke

object.strokeVertexCount

object.strokeWidth

Methods

(Inherits methods from DisplayObject)

object:setFillColor()

object:setFillVertexColor()

object:setStrokeColor()

object:setStrokeVertexColor()