Image.getUsedRect

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

struct Image
@nogc nothrow const
Rect2
getUsedRect
()

Meta