-
-
Notifications
You must be signed in to change notification settings - Fork 18
surface_get_height
Vašek edited this page Jan 16, 2019
·
2 revisions
Finds the pixel height of a surface
surface_get_height(surface_id)
Argument | Description |
---|---|
RenderTarget2D surface_id |
The ID of the surface |
Returns: int
This function simply returns the height, in pixels, of the surface.
int value = surface_get_height(surf);
This code sets value
as the height of the surface called surf
.
Back to surfaces