#
Drawing.new("Quad")
Draws a quadrilateral (a four-sided polygon) defined by four points.
#
Key Properties
#
Common Properties
Uses common properties like Visible
, Color
, Transparency
, ZIndex
. See Common Properties. (Position
and Size
are generally not used for Quads).
#
Example
local myQuad = Drawing.new("Quad")
myQuad.Visible = true
myQuad.Filled = true
myQuad.Color = Color3(0.5, 0, 0.5) -- Purple
myQuad.PointA = Vector2(300, 250)
myQuad.PointB = Vector2(400, 260)
myQuad.PointC = Vector2(380, 350)
myQuad.PointD = Vector2(280, 330)
myQuad.ZIndex = 4
-- myQuad:Remove()