Point.createFromStruct constructor

Point.createFromStruct(
  1. id3DocumentPoint value
)

Create a new instance of the Point from the native struct

Implementation

Point.createFromStruct(id3DocumentPoint value) : _handle = calloc() {
  _handle.ref.X = value.X;
  _handle.ref.Y = value.Y;
  _finalizer.attach(this, _handle, detach: this);
}