aseprite / aseprite/api

Document Rectangle constructor accepting a point + size

Open
#165 0 comments 0 reactions 1 assignee Claimed by @crashtestjava View on GitHub
Dominant language
No language data
Stars
307
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Rectangle constructors can accept a point and a size

```lua
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.