Click or drag to resize

ImageGetUsedRect Method

Returns a Rect2 enclosing the visible portion of the image, considering each pixel with a non-zero alpha channel as visible.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Rect2 GetUsedRect()

Return Value

Type: Rect2

[Missing <returns> documentation for "M:Godot.Image.GetUsedRect"]

See Also