Documentation and cleanup pass

This commit is contained in:
2020-09-27 18:26:55 -07:00
parent 5a18943db9
commit 1859e51a2e
9 changed files with 47 additions and 283 deletions

View File

@ -3,12 +3,16 @@ using System.Text.RegularExpressions;
namespace ConformalDecals.Text {
public class DecalText : IEquatable<DecalText> {
/// Raw text contents
public string Text { get; }
/// Font asset used by this text snippet
public DecalFont Font { get; }
/// Style used by this text snippet
public DecalTextStyle Style { get; }
/// The text formatted with newlines for vertical text
public string FormattedText {
get {
if (Style.Vertical) {