Class TextItemService
  Allows you to create and delete text items to be displayed on a client's UI
 
  
  
    Inheritance
    
    TextItemService
   
  
  
  Assembly: SlipeServer.Server.dll
  Syntax
  
    public class TextItemService
   
  Constructors
  
    |
    Edit this page
  
  
    View Source
  
  
  TextItemService()
  
  
  Declaration
  
  Methods
  
    |
    Edit this page
  
  
    View Source
  
  
  CreateTextItemFor(Player, string, Vector2, float, Color?, byte, HorizontalTextAlignment, VerticalTextAlignment)
  
  
  Declaration
  
    public TextItem CreateTextItemFor(Player player, string text, Vector2 position, float scale = 1, Color? color = null, byte shadowAlpha = 0, HorizontalTextAlignment horizontalAlignment = HorizontalTextAlignment.Left, VerticalTextAlignment verticalAlignment = VerticalTextAlignment.Top)
   
  Parameters
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  CreateTextItemFor(IEnumerable<Player>, string, Vector2, float, Color?, byte, HorizontalTextAlignment, VerticalTextAlignment)
  
  
  Declaration
  
    public TextItem CreateTextItemFor(IEnumerable<Player> players, string text, Vector2 position, float scale = 1, Color? color = null, byte shadowAlpha = 0, HorizontalTextAlignment horizontalAlignment = HorizontalTextAlignment.Left, VerticalTextAlignment verticalAlignment = VerticalTextAlignment.Top)
   
  Parameters
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  DeleteTextItemFor(Player, TextItem)
  
  
  Declaration
  
    public void DeleteTextItemFor(Player player, TextItem item)
   
  Parameters
  
  
    |
    Edit this page
  
  
    View Source
  
  
  DeleteTextItemFor(IEnumerable<Player>, TextItem)
  
  
  Declaration
  
    public void DeleteTextItemFor(IEnumerable<Player> players, TextItem item)
   
  Parameters