*
* @return Pointer to the vector of colors.
*/
- virtual const Vector4* const GetColors() const = 0;
+ virtual const Vector4* GetColors() const = 0;
/**
* @brief Retrieves the vector of indices to the vector of colors.
*
* @return Pointer to a vector which stores for each glyph the index to the vector of colors.
*/
- virtual const ColorIndex* const GetColorIndices() const = 0;
+ virtual const ColorIndex* GetColorIndices() const = 0;
/**
* @brief Retrieves the vector of background colors.
*
* @return Pointer to the vector of background colors.
*/
- virtual const Vector4* const GetBackgroundColors() const = 0;
+ virtual const Vector4* GetBackgroundColors() const = 0;
/**
* @brief Retrieves the vector of indices to the vector of background colors.
*
* @return Pointer to a vector which stores for each glyph the index to the vector of background colors.
*/
- virtual const ColorIndex* const GetBackgroundColorIndices() const = 0;
+ virtual const ColorIndex* GetBackgroundColorIndices() const = 0;
/**
* @brief checks if there is background colors set using markup.
*
* @return boolean if there is background colors set using markup .
*/
- virtual bool const IsMarkupBackgroundColorSet() const = 0;
+ virtual bool IsMarkupBackgroundColorSet() const = 0;
/**
* @brief Retrieves the text color
*
* @return boolean if there is underline set using markup.
*/
- virtual bool const IsMarkupUnderlineSet() const = 0;
+ virtual bool IsMarkupUnderlineSet() const = 0;
/**
* @brief Returns the hyphens glyph info.
Length numberOfRuns) const = 0;
/**
+ * @brief Retrieves the outline offset.
+ *
+ * @return The outline offset.
+ */
+ virtual const Vector2& GetOutlineOffset() const = 0;
+
+ /**
* @brief Retrieve the outline color.
*
* @return The outline color.
*
* @return boolean if there is strikethrough set using markup.
*/
- virtual bool const IsMarkupStrikethroughSet() const = 0;
+ virtual bool IsMarkupStrikethroughSet() const = 0;
/**
* @brief Retrieves the strikethrough height override
virtual const Vector<BoundedParagraphRun>& GetBoundedParagraphRuns() const = 0;
/**
- * @brief Retrieves the number of character-spacing glyph runs.
- *
- * @return The number of character-spacing glyph runs.
- */
- virtual Length GetNumberOfCharacterSpacingGlyphRuns() const = 0;
-
- /**
- * @brief Retrieves the reference for character-spacing glyph runs.
- *
- * @return The reference for character-spacing glyph runs.
- */
- virtual const Vector<CharacterSpacingGlyphRun>& GetCharacterSpacingGlyphRuns() const = 0;
-
- /**
* @brief Retrieves the strikethrough runs.
*
* @param[out] strikethroughRuns Pointer to a buffer where the strikethrough runs are copied.
*
* @return characterSpacing.
*/
- virtual const float GetCharacterSpacing() const = 0;
+ virtual float GetCharacterSpacing() const = 0;
/**
* @brief The text buffer.
* @return GetGlyphsToCharacters.
*/
virtual const Vector<CharacterIndex>& GetGlyphsToCharacters() const = 0;
+
+ /**
+ * @brief Returns whether cutout is enabled or not.
+ *
+ * @return The cutout state.
+ */
+ virtual bool IsCutoutEnabled() const = 0;
};
} // namespace Text