Click or drag to resize

ImageResize Method

Resizes the image to the given width and height. New pixels are calculated using the interpolation mode defined via ImageInterpolation constants.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void Resize(
	int width,
	int height,
	ImageInterpolation interpolation = ImageInterpolation.Bilinear
)

Parameters

width
Type: SystemInt32

[Missing <param name="width"/> documentation for "M:Godot.Image.Resize(System.Int32,System.Int32,Godot.Image.Interpolation)"]

height
Type: SystemInt32

[Missing <param name="height"/> documentation for "M:Godot.Image.Resize(System.Int32,System.Int32,Godot.Image.Interpolation)"]

interpolation (Optional)
Type: GodotImageInterpolation

[Missing <param name="interpolation"/> documentation for "M:Godot.Image.Resize(System.Int32,System.Int32,Godot.Image.Interpolation)"]

See Also