Skip to content

Document Rectangle constructor accepting a point + size #165

Description

@CrashTestJava

Rectangle constructors can accept a point and a size

local pt = Point(2, 5)
local sz = Size(15, 7)
local rect = Rectangle(pt, sz)
-- Creates Rectangle(2, 5, 15, 7)

https://github.com/aseprite/aseprite/blob/main/src/app/script/rectangle_class.cpp

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions