Rectangle.createFromStruct constructor
- id3DocumentRectangle value
Create a new instance of the Rectangle from the native struct
Implementation
Rectangle.createFromStruct(id3DocumentRectangle 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);
}