getProperties method

int getProperties()

Get the properties associated with a text object.

\param text the TTF_Text to query. \returns a valid property ID on success or 0 on failure; call SDL_GetError() for more information.

\threadsafety This function should be called on the thread that created the text.

\since This function is available since SDL_ttf 3.0.0.

extern SDL_DECLSPEC SDL_PropertiesID SDLCALL TTF_GetTextProperties(TTF_Text *text)

Implementation

int getProperties() => ttfGetTextProperties(this);