# Drawing.new("Quad")

Draws a quadrilateral (a four-sided polygon) defined by four points.

# Key Properties

Property Type Description
PointA Vector2 Screen coordinate (X, Y) of the first vertex.
PointB Vector2 Screen coordinate (X, Y) of the second vertex.
PointC Vector2 Screen coordinate (X, Y) of the third vertex.
PointD Vector2 Screen coordinate (X, Y) of the fourth vertex.
Filled boolean If true, fills the quad with Color. If false, draws outline.
Thickness number The thickness of the outline if Filled is false (connects A-B-C-D-A).

# 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()