Create a FloatRect instance. Instead of creating an instance in new mode, use create to create an instance.
Optional
Create a FloatRect instance with the specified options.
const rect = await FloatRect.create(); Copy
const rect = await FloatRect.create();
Destroy the current object.
Static
Create an FloatRect instance.
Create an FloatRect instance with the specified options.
Returns a promise that resolves with a FloatRect instance.
Create a FloatRect instance. Instead of creating an instance in new mode, use create to create an instance.