// // Created by HifiExperiments on 8/17/24 // Copyright 2024 Overte e.V contributors. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #ifndef hifi_TextVerticalAlignment_h #define hifi_TextVerticalAlignment_h #include "QString" /*@jsdoc *

A {@link Entities.EntityProperties-Text|Text} entity may use one of the following vertical alignments:

* * * * * * * * * *
ValueDescription
"top"Text is aligned to the top.
"bottom"Text is aligned to the bottom.
"center"Text is centered vertically.
* @typedef {string} Entities.TextVerticalAlignment */ enum class TextVerticalAlignment : uint8_t { TOP = 0, BOTTOM, CENTER, }; class TextVerticalAlignmentHelpers { public: static QString getNameForTextVerticalAlignment(TextVerticalAlignment alignment); }; #endif // hifi_TextVerticalAlignment_h