.. default-domain:: cs .. highlight:: csharp .. namespace:: KRPC.Client.Services.Drawing Text ==== .. class:: Text Text. Created using :meth:`Drawing.AddText `. | Base class: :type:`Drawable` .. container:: inherited-members .. rubric:: Inherited Members * From :type:`Drawable`: :prop:`Visible `, :prop:`Color `, :prop:`Material `, :meth:`Remove ` .. property:: System.Tuple Position { get; set; } Position of the text. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: System.Tuple Rotation { get; set; } Rotation of the text as a quaternion. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: bool FaceCamera { get; set; } Whether the text turns to face the camera, in place of its :prop:`Text.Rotation`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: SpaceCenter.ReferenceFrame ReferenceFrame { get; set; } Reference frame for the positions of the object. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: string Content { get; set; } The text string :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: string Font { get; set; } Name of the font :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: static System.Collections.Generic.IList AvailableFonts(IConnection connection) A list of all available fonts. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: int Size { get; set; } Font size. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: float CharacterSize { get; set; } Character size. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: UI.FontStyle Style { get; set; } Font style. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: UI.TextAlignment Alignment { get; set; } Alignment. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: float LineSpacing { get; set; } Line spacing. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: UI.TextAnchor Anchor { get; set; } Anchor. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph