Gst.Structure.prototype.fixate_field_nearest_int
function fixate_field_nearest_int(field_name:String, target:Number):Boolean { // Gjs wrapper for gst_structure_fixate_field_nearest_int() }
Fixates a Gst.Structure by changing the given field to the nearest integer to target that is a subset of the existing field.
- field_name
a field in structure
- target
the target value of the fixation
- Returns
TRUE if the structure could be fixated