Package: graphene

Function graphene:rect-init

Lambda List

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

Arguments

r -- a graphene:rect-t instance
x -- a number coerced to a float with the x coordinate of the rectangle
y -- a number coerced to a float with the y coordinate of the rectangle
width -- a number coerced to a float with the width of the rectangle
height -- a number coerced to a float with the height of the rectangle

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

2023-12-9