@@ -3005,15 +3005,21 @@ public void Flop()
30053005 /// </summary>
30063006 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
30073007 public void Frame ( )
3008- => Frame ( new MagickGeometry ( 6 , 6 , 25 , 25 ) ) ;
3008+ {
3009+ using var mutator = new Mutator ( _nativeInstance ) ;
3010+ mutator . Frame ( ) ;
3011+ }
30093012
30103013 /// <summary>
30113014 /// Frame image with the specified geometry.
30123015 /// </summary>
30133016 /// <param name="geometry">The geometry of the frame.</param>
30143017 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
30153018 public void Frame ( IMagickGeometry geometry )
3016- => _nativeInstance . Frame ( MagickRectangle . FromGeometry ( geometry , this ) ) ;
3019+ {
3020+ using var mutator = new Mutator ( _nativeInstance ) ;
3021+ mutator . Frame ( geometry ) ;
3022+ }
30173023
30183024 /// <summary>
30193025 /// Frame image with the specified with and height.
@@ -3022,7 +3028,10 @@ public void Frame(IMagickGeometry geometry)
30223028 /// <param name="height">The height of the frame.</param>
30233029 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
30243030 public void Frame ( uint width , uint height )
3025- => Frame ( new MagickGeometry ( 6 , 6 , width , height ) ) ;
3031+ {
3032+ using var mutator = new Mutator ( _nativeInstance ) ;
3033+ mutator . Frame ( width , height ) ;
3034+ }
30263035
30273036 /// <summary>
30283037 /// Frame image with the specified with, height, innerBevel and outerBevel.
@@ -3033,7 +3042,10 @@ public void Frame(uint width, uint height)
30333042 /// <param name="outerBevel">The outer bevel of the frame.</param>
30343043 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
30353044 public void Frame ( uint width , uint height , int innerBevel , int outerBevel )
3036- => Frame ( new MagickGeometry ( innerBevel , outerBevel , width , height ) ) ;
3045+ {
3046+ using var mutator = new Mutator ( _nativeInstance ) ;
3047+ mutator . Frame ( width , height , innerBevel , outerBevel ) ;
3048+ }
30373049
30383050 /// <summary>
30393051 /// Applies a mathematical expression to the image.
0 commit comments