Package: graphene

Function graphene:rect-init

Lambda List

graphene:rect-init (rect x y width height)

Arguments

rect -- a graphene:rect-t instance
x -- a number coerced to a single float for the x coordinate
y -- a number coerced to a single float for the y coordinate
width -- a number coerced to a single float for the width
height -- a number coerced to a single float for the height

Return Value

The initialized graphene:rect-t instance.

Details

Initializes the given rectangle with the given values. This function will implicitly normalize the rectangle before returning.
 

See also

2025-4-3