mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
Add more annotations, update grid_page example
This commit is contained in:
@@ -318,7 +318,9 @@ function StaticGrid.clear(self)
|
||||
end
|
||||
|
||||
|
||||
-- return vector where content borders starts
|
||||
--- Return StaticGrid offset, where StaticGrid content starts.
|
||||
-- @tparam StaticGrid self The StaticGrid instance
|
||||
-- @treturn vector3 The StaticGrid offset
|
||||
function StaticGrid:get_offset()
|
||||
local borders = self:get_borders()
|
||||
local size = self:get_size()
|
||||
|
Reference in New Issue
Block a user