ImageSurface.isValid

bool isValid() const nothrow @nogc

Checks if the image surface handle is valid.

Returns

true if the handle is valid (non-null)