#if FIVEM using Alignment = CitizenFX.Core.UI.Alignment; using Font = CitizenFX.Core.UI.Font; #elif RAGEMP using RAGE.Game; #elif SHVDN3 using Alignment = GTA.UI.Alignment; using Font = GTA.UI.Font; #endif using System.Drawing; namespace LemonUI.Elements { /// /// A Drawable screen text. /// public interface IText : IRecalculable, IDrawable { /// /// The position of the text. /// PointF Position { get; set; } /// /// The text to draw. /// string Text { get; set; } /// /// The color of the text. /// Color Color { get; set; } /// /// The game font to use. /// Font Font { get; set; } /// /// The scale of the text. /// float Scale { get; set; } /// /// If the text should have a drop down shadow. /// bool Shadow { get; set; } /// /// If the text should have an outline. /// bool Outline { get; set; } /// /// The alignment of the text. /// Alignment Alignment { get; set; } /// /// The maximum distance from X where the text would wrap into a new line. /// float WordWrap { get; set; } /// /// The width that the text takes from the screen. /// float Width { get; } /// /// The number of lines used by this text. /// int LineCount { get; } /// /// The height of each line of text. /// float LineHeight { get; } } }