Inherits AZ::ComponentBus.
 | 
| enum class   | OverflowMode { OverflowText
, ClipText
, Ellipsis
 } | 
|   | Determines how text overflow should behave.  More...
  | 
|   | 
| enum class   | WrapTextSetting { NoWrap
, Wrap
 } | 
|   | Provides values for determining whether text is wrapped or not. 
  | 
|   | 
| enum class   | ShrinkToFit { None
, Uniform
, WidthOnly
 } | 
|   | 
| enum   | GetTextFlags { GetAsIs = 0
, GetLocalized = 1 << 0
 } | 
|   | Determines what processing should be performed on text before returning. 
  | 
|   | 
| enum   | SetTextFlags { SetAsIs = 0
, SetEscapeMarkup = 1 << 0
, SetLocalized = 1 << 1
 } | 
|   | Determines how text should be assigned. 
  | 
|   | 
| 
typedef AZStd::function< AZStd::string(const AZStd::string &)>  | DisplayedTextFunction | 
|   | Callback type for retrieving displayed text. 
  | 
|   | 
 | 
| virtual AZStd::string  | GetText ()=0 | 
|   | 
| 
virtual void  | SetText (const AZStd::string &text)=0 | 
|   | 
| 
virtual AZStd::string  | GetTextWithFlags (GetTextFlags flags=GetAsIs)=0 | 
|   | 
| 
virtual void  | SetTextWithFlags (const AZStd::string &text, SetTextFlags flags=SetAsIs)=0 | 
|   | 
| 
virtual AZ::Color  | GetColor ()=0 | 
|   | 
| 
virtual void  | SetColor (const AZ::Color &color)=0 | 
|   | 
| 
virtual LyShine::PathnameType  | GetFont ()=0 | 
|   | Returns font object used by the displayed text. 
  | 
|   | 
| 
virtual void  | SetFont (const LyShine::PathnameType &fontPath)=0 | 
|   | 
| 
virtual int  | GetFontEffect ()=0 | 
|   | 
| 
virtual void  | SetFontEffect (int effectIndex)=0 | 
|   | 
| 
virtual AZStd::string  | GetFontEffectName (int effectIndex)=0 | 
|   | 
| 
virtual void  | SetFontEffectByName (const AZStd::string &effectName)=0 | 
|   | 
| 
virtual float  | GetFontSize ()=0 | 
|   | 
| 
virtual void  | SetFontSize (float size)=0 | 
|   | 
| 
virtual void  | GetTextAlignment (IDraw2d::HAlign &horizontalAlignment, IDraw2d::VAlign &verticalAlignment)=0 | 
|   | 
| 
virtual void  | SetTextAlignment (IDraw2d::HAlign horizontalAlignment, IDraw2d::VAlign verticalAlignment)=0 | 
|   | 
| 
virtual IDraw2d::HAlign  | GetHorizontalTextAlignment ()=0 | 
|   | 
| 
virtual void  | SetHorizontalTextAlignment (IDraw2d::HAlign alignment)=0 | 
|   | 
| 
virtual IDraw2d::VAlign  | GetVerticalTextAlignment ()=0 | 
|   | 
| 
virtual void  | SetVerticalTextAlignment (IDraw2d::VAlign alignment)=0 | 
|   | 
| 
virtual float  | GetCharacterSpacing ()=0 | 
|   | 
| 
virtual void  | SetCharacterSpacing (float characterSpacing)=0 | 
|   | 
| 
virtual float  | GetLineSpacing ()=0 | 
|   | 
| 
virtual void  | SetLineSpacing (float lineSpacing)=0 | 
|   | 
| virtual int  | GetCharIndexFromPoint (AZ::Vector2 point, bool mustBeInBoundingBox)=0 | 
|   | 
| virtual int  | GetCharIndexFromCanvasSpacePoint (AZ::Vector2 point, bool mustBeInBoundingBox)=0 | 
|   | 
| virtual AZ::Vector2  | GetPointFromCharIndex (int index)=0 | 
|   | 
| 
virtual AZ::Color  | GetSelectionColor ()=0 | 
|   | 
| 
virtual void  | GetSelectionRange (int &startIndex, int &endIndex)=0 | 
|   | 
| virtual void  | SetSelectionRange (int startIndex, int endIndex, const AZ::Color &selectionColor)=0 | 
|   | 
| 
virtual void  | ClearSelectionRange ()=0 | 
|   | Clear any text selection range that has been applied to this text. 
  | 
|   | 
| 
virtual AZ::Vector2  | GetTextSize ()=0 | 
|   | Get the width and height of the text. 
  | 
|   | 
| 
virtual float  | GetTextWidth ()=0 | 
|   | Get the width of the text. 
  | 
|   | 
| 
virtual float  | GetTextHeight ()=0 | 
|   | Get the height of the text. 
  | 
|   | 
| virtual void  | GetTextBoundingBox (int startIndex, int endIndex, UiTransformInterface::RectPointsArray &rectPoints)=0 | 
|   | 
| virtual DisplayedTextFunction  | GetDisplayedTextFunction () const =0 | 
|   | 
| virtual void  | SetDisplayedTextFunction (const DisplayedTextFunction &displayedTextFunction)=0 | 
|   | 
| 
virtual OverflowMode  | GetOverflowMode ()=0 | 
|   | Gets the overflow behavior of this component. 
  | 
|   | 
| 
virtual void  | SetOverflowMode (OverflowMode overflowMode)=0 | 
|   | Sets the overflow setting of this component. 
  | 
|   | 
| 
virtual WrapTextSetting  | GetWrapText ()=0 | 
|   | Gets the text wrapping setting of this component. 
  | 
|   | 
| 
virtual void  | SetWrapText (WrapTextSetting wrapSetting)=0 | 
|   | Sets the text wrapping setting of this component. 
  | 
|   | 
| 
virtual ShrinkToFit  | GetShrinkToFit ()=0 | 
|   | Gets the "shrink-to-fit" value of this component. 
  | 
|   | 
| 
virtual void  | SetShrinkToFit (ShrinkToFit shrinkToFit)=0 | 
|   | Sets the "shrink-to-fit" value of this component. 
  | 
|   | 
| 
virtual void  | ResetCursorLineHint ()=0 | 
|   | Typically triggered when input mechanism (keyboard vs. mouse) changes/alternates. 
  | 
|   | 
| 
virtual bool  | GetIsMarkupEnabled ()=0 | 
|   | Get whether markup is enabled. If true then the text string is parsed for XML markup. 
  | 
|   | 
| 
virtual void  | SetIsMarkupEnabled (bool isEnabled)=0 | 
|   | Set whether markup is enabled. If true then the text string is parsed for XML markup. 
  | 
|   | 
| 
virtual float  | GetMinimumShrinkScale ()=0 | 
|   | Gets the minimum shrink scale when using ShrinkToFit. 
  | 
|   | 
| 
virtual void  | SetMinimumShrinkScale (float minShrinkScale)=0 | 
|   | Sets the minimum shrink scale when using ShrinkToFit. 
  | 
|   |