PhotographicAttributes.createFromStruct constructor
- id3FacePhotographicAttributes value
Create a new instance of the PhotographicAttributes from the native struct
Implementation
PhotographicAttributes.createFromStruct(id3FacePhotographicAttributes value) : _handle = calloc() {
_handle.ref.EqualBrightness = value.EqualBrightness;
_handle.ref.FaceDynamicRange = value.FaceDynamicRange;
_handle.ref.FlashReflection = value.FlashReflection;
_handle.ref.NaturalSkinColor = value.NaturalSkinColor;
_handle.ref.OverExposure = value.OverExposure;
_handle.ref.Pixelation = value.Pixelation;
_handle.ref.Sharpness = value.Sharpness;
_handle.ref.UnderExposure = value.UnderExposure;
_finalizer.attach(this, _handle, detach: this);
}