Click or drag to resize

ImageCrop Method

Crops the image to the given width and height. If the specified size is larger than the current size, the extra area is filled with black pixels.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void Crop(
	int width,
	int height
)

Parameters

width
Type: SystemInt32

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

height
Type: SystemInt32

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

See Also