Window.shaped
Description:
[ CCode ( cname = "SDL_CreateShapedWindow" ) ]
public Window.shaped (string title, int x, int y, int w, int h, uint32 flags)
Create a window that can be shaped with the specified position, dimensions, and flags.
Parameters:
title |
The title of the window, in UTF-8 encoding. |
x |
The x position of the window, POS_CENTERED, or POS_UNDEFINED. |
y |
The y position of the window, POS_CENTERED, or POS_UNDEFINED. |
w |
The width of the window. |
h |
The height of the window. |
flags |
The flags for the window, a mask of WindowFlags.BORDERLESS
with any of the following: |
Returns:
The window created, or null if window creation failed. |