AcediaDocumentation

Triangle drawing

Properties for Drawing.new("Triangle").

Inherits the shared drawing properties.

Properties

MemberType / signatureMeaning
PointAVector2First vertex.
PointBVector2Second vertex.
PointCVector2Third vertex.
FilledbooleanFill rather than outline.

Example

local object = Drawing.new("Triangle")
object.PointA = Vector2.new(60, 20)
object.PointB = Vector2.new(20, 80)
object.PointC = Vector2.new(100, 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.

On this page