GimpUi.NumberPairEntry.prototype.set_aspect
function set_aspect(aspect: GimpUi.AspectType): void {
// Gjs wrapper for gimp_number_pair_entry_set_aspect()
}
Sets the aspect of the ratio by swapping the left_number and right_number if necessary (or setting them to 1.0 in case that aspect is GimpUi.AspectType.square).
Since 2.4
- aspect
The new aspect.