Quad drawing
Properties for Drawing.new("Quad").
Inherits the shared drawing properties.
Properties
| Member | Type / signature | Meaning |
|---|---|---|
PointA | Vector2 | First vertex. |
PointB | Vector2 | Second vertex. |
PointC | Vector2 | Third vertex. |
PointD | Vector2 | Fourth vertex. |
Filled | boolean | Fill rather than outline. |
Example
local object = Drawing.new("Quad")
object.PointA = Vector2.new(20, 20)
object.PointB = Vector2.new(100, 20)
object.PointC = Vector2.new(100, 80)
object.PointD = Vector2.new(20, 80)
object.Color = Color3.new(1, 1, 1)
object.Visible = true
object:Remove()Property writes require the matching types. TextBounds and __OBJECT_EXISTS are readonly.
