Square drawing
Properties for Drawing.new("Square").
Inherits the shared drawing properties.
Properties
| Member | Type / signature | Meaning |
|---|---|---|
Position | Vector2 | Top-left point. |
Size | Vector2 | Width and height. |
Filled | boolean | Fill rather than outline. |
Example
local object = Drawing.new("Square")
object.Position = Vector2.new(20, 20)
object.Size = Vector2.new(100, 40)
object.Color = Color3.new(1, 1, 1)
object.Visible = true
object:Remove()Property writes require the matching types. TextBounds and __OBJECT_EXISTS are readonly.
