# Rectangle.createFromStruct constructor

Rectangle.createFromStruct(

1. id3FaceRectangle value

)

Create a new instance of the Rectangle from the native struct

## Implementation

    Rectangle.createFromStruct(id3FaceRectangle value) : _handle = calloc() {
      _handle.ref.BottomLeft = value.BottomLeft;
      _handle.ref.BottomRight = value.BottomRight;
      _handle.ref.TopLeft = value.TopLeft;
      _handle.ref.TopRight = value.TopRight;
      _finalizer.attach(this, _handle, detach: this);
    }