< Summary

Class:DCL.ECSComponents.PBTextShape
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/TextShape.gen.cs
Covered lines:62
Uncovered lines:370
Coverable lines:432
Total lines:1272
Line coverage:14.3% (62 of 432)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PBTextShape()0%110100%
get_Descriptor()0%2100%
PBTextShape(...)0%56700%
Clone()0%2100%
PBTextShape()0%110100%
ClearFont()0%2100%
ClearFontSize()0%2100%
ClearFontAutoSize()0%2100%
ClearTextAlign()0%2100%
ClearWidth()0%2100%
ClearHeight()0%2100%
ClearPaddingTop()0%2100%
ClearPaddingRight()0%2100%
ClearPaddingBottom()0%2100%
ClearPaddingLeft()0%2100%
ClearLineSpacing()0%2100%
ClearLineCount()0%2100%
ClearTextWrapping()0%2100%
ClearShadowBlur()0%2100%
ClearShadowOffsetX()0%2100%
ClearShadowOffsetY()0%2100%
ClearOutlineWidth()0%2100%
Equals(...)0%2100%
Equals(...)0%379.1124014.89%
GetHashCode()0%5522300%
ToString()0%2100%
WriteTo(...)0%5522300%
CalculateSize()0%5522300%
MergeFrom(...)0%7022600%
MergeFrom(...)0%11223300%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/TextShape.gen.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/sdk/components/text_shape.proto
 4// </auto-generated>
 5#pragma warning disable 1591, 0612, 3021
 6#region Designer generated code
 7
 8using pb = global::Google.Protobuf;
 9using pbc = global::Google.Protobuf.Collections;
 10using pbr = global::Google.Protobuf.Reflection;
 11using scg = global::System.Collections.Generic;
 12namespace DCL.ECSComponents {
 13
 14  /// <summary>Holder for reflection information generated from decentraland/sdk/components/text_shape.proto</summary>
 15  public static partial class TextShapeReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/sdk/components/text_shape.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static TextShapeReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CixkZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvdGV4dF9zaGFwZS5wcm90",
 28            "bxIbZGVjZW50cmFsYW5kLnNkay5jb21wb25lbnRzGiBkZWNlbnRyYWxhbmQv",
 29            "Y29tbW9uL2NvbG9ycy5wcm90bxouZGVjZW50cmFsYW5kL3Nkay9jb21wb25l",
 30            "bnRzL2NvbW1vbi90ZXh0cy5wcm90byKbCAoLUEJUZXh0U2hhcGUSDAoEdGV4",
 31            "dBgBIAEoCRI7CgRmb250GAIgASgOMiguZGVjZW50cmFsYW5kLnNkay5jb21w",
 32            "b25lbnRzLmNvbW1vbi5Gb250SACIAQESFgoJZm9udF9zaXplGAMgASgCSAGI",
 33            "AQESGwoOZm9udF9hdXRvX3NpemUYBCABKAhIAogBARJKCgp0ZXh0X2FsaWdu",
 34            "GAUgASgOMjEuZGVjZW50cmFsYW5kLnNkay5jb21wb25lbnRzLmNvbW1vbi5U",
 35            "ZXh0QWxpZ25Nb2RlSAOIAQESEgoFd2lkdGgYBiABKAJIBIgBARITCgZoZWln",
 36            "aHQYByABKAJIBYgBARIYCgtwYWRkaW5nX3RvcBgIIAEoAkgGiAEBEhoKDXBh",
 37            "ZGRpbmdfcmlnaHQYCSABKAJIB4gBARIbCg5wYWRkaW5nX2JvdHRvbRgKIAEo",
 38            "AkgIiAEBEhkKDHBhZGRpbmdfbGVmdBgLIAEoAkgJiAEBEhkKDGxpbmVfc3Bh",
 39            "Y2luZxgMIAEoAkgKiAEBEhcKCmxpbmVfY291bnQYDSABKAVIC4gBARIaCg10",
 40            "ZXh0X3dyYXBwaW5nGA4gASgISAyIAQESGAoLc2hhZG93X2JsdXIYDyABKAJI",
 41            "DYgBARIcCg9zaGFkb3dfb2Zmc2V0X3gYECABKAJIDogBARIcCg9zaGFkb3df",
 42            "b2Zmc2V0X3kYESABKAJID4gBARIaCg1vdXRsaW5lX3dpZHRoGBIgASgCSBCI",
 43            "AQESNgoMc2hhZG93X2NvbG9yGBMgASgLMhsuZGVjZW50cmFsYW5kLmNvbW1v",
 44            "bi5Db2xvcjNIEYgBARI3Cg1vdXRsaW5lX2NvbG9yGBQgASgLMhsuZGVjZW50",
 45            "cmFsYW5kLmNvbW1vbi5Db2xvcjNIEogBARI0Cgp0ZXh0X2NvbG9yGBUgASgL",
 46            "MhsuZGVjZW50cmFsYW5kLmNvbW1vbi5Db2xvcjRIE4gBAUIHCgVfZm9udEIM",
 47            "CgpfZm9udF9zaXplQhEKD19mb250X2F1dG9fc2l6ZUINCgtfdGV4dF9hbGln",
 48            "bkIICgZfd2lkdGhCCQoHX2hlaWdodEIOCgxfcGFkZGluZ190b3BCEAoOX3Bh",
 49            "ZGRpbmdfcmlnaHRCEQoPX3BhZGRpbmdfYm90dG9tQg8KDV9wYWRkaW5nX2xl",
 50            "ZnRCDwoNX2xpbmVfc3BhY2luZ0INCgtfbGluZV9jb3VudEIQCg5fdGV4dF93",
 51            "cmFwcGluZ0IOCgxfc2hhZG93X2JsdXJCEgoQX3NoYWRvd19vZmZzZXRfeEIS",
 52            "ChBfc2hhZG93X29mZnNldF95QhAKDl9vdXRsaW5lX3dpZHRoQg8KDV9zaGFk",
 53            "b3dfY29sb3JCEAoOX291dGxpbmVfY29sb3JCDQoLX3RleHRfY29sb3JCFKoC",
 54            "EURDTC5FQ1NDb21wb25lbnRzYgZwcm90bzM="));
 55      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 56          new pbr::FileDescriptor[] { global::DCL.ECSComponents.ColorsReflection.Descriptor, global::DCL.ECSComponents.T
 57          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 58            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBTextShape), global::DCL.ECSComponents.PBTex
 59          }));
 60    }
 61    #endregion
 62
 63  }
 64  #region Messages
 65  public sealed partial class PBTextShape : pb::IMessage<PBTextShape>
 66  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 67      , pb::IBufferMessage
 68  #endif
 69  {
 170    private static readonly pb::MessageParser<PBTextShape> _parser = new pb::MessageParser<PBTextShape>(() => new PBText
 71    private pb::UnknownFieldSet _unknownFields;
 72    private int _hasBits0;
 73    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 74    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 075    public static pb::MessageParser<PBTextShape> Parser { get { return _parser; } }
 76
 77    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 78    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 79    public static pbr::MessageDescriptor Descriptor {
 080      get { return global::DCL.ECSComponents.TextShapeReflection.Descriptor.MessageTypes[0]; }
 81    }
 82
 83    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 84    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 85    pbr::MessageDescriptor pb::IMessage.Descriptor {
 086      get { return Descriptor; }
 87    }
 88
 89    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 90    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 191    public PBTextShape() {
 92      OnConstruction();
 193    }
 94
 95    partial void OnConstruction();
 96
 97    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 98    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 099    public PBTextShape(PBTextShape other) : this() {
 0100      _hasBits0 = other._hasBits0;
 0101      text_ = other.text_;
 0102      font_ = other.font_;
 0103      fontSize_ = other.fontSize_;
 0104      fontAutoSize_ = other.fontAutoSize_;
 0105      textAlign_ = other.textAlign_;
 0106      width_ = other.width_;
 0107      height_ = other.height_;
 0108      paddingTop_ = other.paddingTop_;
 0109      paddingRight_ = other.paddingRight_;
 0110      paddingBottom_ = other.paddingBottom_;
 0111      paddingLeft_ = other.paddingLeft_;
 0112      lineSpacing_ = other.lineSpacing_;
 0113      lineCount_ = other.lineCount_;
 0114      textWrapping_ = other.textWrapping_;
 0115      shadowBlur_ = other.shadowBlur_;
 0116      shadowOffsetX_ = other.shadowOffsetX_;
 0117      shadowOffsetY_ = other.shadowOffsetY_;
 0118      outlineWidth_ = other.outlineWidth_;
 0119      shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null;
 0120      outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null;
 0121      textColor_ = other.textColor_ != null ? other.textColor_.Clone() : null;
 0122      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0123    }
 124
 125    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 126    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 127    public PBTextShape Clone() {
 0128      return new PBTextShape(this);
 129    }
 130
 131    /// <summary>Field number for the "text" field.</summary>
 132    public const int TextFieldNumber = 1;
 1133    private string text_ = "";
 134    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 135    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 136    public string Text {
 0137      get { return text_; }
 138      set {
 0139        text_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0140      }
 141    }
 142
 143    /// <summary>Field number for the "font" field.</summary>
 144    public const int FontFieldNumber = 2;
 145    private global::DCL.ECSComponents.Font font_;
 146    /// <summary>
 147    /// default=F_SANS_SERIF
 148    /// </summary>
 149    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 150    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 151    public global::DCL.ECSComponents.Font Font {
 0152      get { if ((_hasBits0 & 1) != 0) { return font_; } else { return global::DCL.ECSComponents.Font.FLiberationSans; } 
 153      set {
 2154        _hasBits0 |= 1;
 2155        font_ = value;
 2156      }
 157    }
 158    /// <summary>Gets whether the "font" field is set</summary>
 159    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 160    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 161    public bool HasFont {
 0162      get { return (_hasBits0 & 1) != 0; }
 163    }
 164    /// <summary>Clears the value of the "font" field</summary>
 165    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 166    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 167    public void ClearFont() {
 0168      _hasBits0 &= ~1;
 0169    }
 170
 171    /// <summary>Field number for the "font_size" field.</summary>
 172    public const int FontSizeFieldNumber = 3;
 173    private float fontSize_;
 174    /// <summary>
 175    /// default=10
 176    /// </summary>
 177    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 178    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 179    public float FontSize {
 2180      get { if ((_hasBits0 & 2) != 0) { return fontSize_; } else { return 0F; } }
 181      set {
 1182        _hasBits0 |= 2;
 1183        fontSize_ = value;
 1184      }
 185    }
 186    /// <summary>Gets whether the "font_size" field is set</summary>
 187    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 188    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 189    public bool HasFontSize {
 0190      get { return (_hasBits0 & 2) != 0; }
 191    }
 192    /// <summary>Clears the value of the "font_size" field</summary>
 193    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 194    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 195    public void ClearFontSize() {
 0196      _hasBits0 &= ~2;
 0197    }
 198
 199    /// <summary>Field number for the "font_auto_size" field.</summary>
 200    public const int FontAutoSizeFieldNumber = 4;
 201    private bool fontAutoSize_;
 202    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 203    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 204    public bool FontAutoSize {
 0205      get { if ((_hasBits0 & 4) != 0) { return fontAutoSize_; } else { return false; } }
 206      set {
 2207        _hasBits0 |= 4;
 2208        fontAutoSize_ = value;
 2209      }
 210    }
 211    /// <summary>Gets whether the "font_auto_size" field is set</summary>
 212    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 213    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 214    public bool HasFontAutoSize {
 0215      get { return (_hasBits0 & 4) != 0; }
 216    }
 217    /// <summary>Clears the value of the "font_auto_size" field</summary>
 218    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 219    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 220    public void ClearFontAutoSize() {
 0221      _hasBits0 &= ~4;
 0222    }
 223
 224    /// <summary>Field number for the "text_align" field.</summary>
 225    public const int TextAlignFieldNumber = 5;
 226    private global::DCL.ECSComponents.TextAlignMode textAlign_;
 227    /// <summary>
 228    /// default=TAM_CENTER_CENTER
 229    /// </summary>
 230    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 231    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 232    public global::DCL.ECSComponents.TextAlignMode TextAlign {
 0233      get { if ((_hasBits0 & 8) != 0) { return textAlign_; } else { return global::DCL.ECSComponents.TextAlignMode.TamTo
 234      set {
 4235        _hasBits0 |= 8;
 4236        textAlign_ = value;
 4237      }
 238    }
 239    /// <summary>Gets whether the "text_align" field is set</summary>
 240    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 241    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 242    public bool HasTextAlign {
 0243      get { return (_hasBits0 & 8) != 0; }
 244    }
 245    /// <summary>Clears the value of the "text_align" field</summary>
 246    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 247    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 248    public void ClearTextAlign() {
 0249      _hasBits0 &= ~8;
 0250    }
 251
 252    /// <summary>Field number for the "width" field.</summary>
 253    public const int WidthFieldNumber = 6;
 254    private float width_;
 255    /// <summary>
 256    /// default=1
 257    /// </summary>
 258    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 259    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 260    public float Width {
 8261      get { if ((_hasBits0 & 16) != 0) { return width_; } else { return 0F; } }
 262      set {
 4263        _hasBits0 |= 16;
 4264        width_ = value;
 4265      }
 266    }
 267    /// <summary>Gets whether the "width" field is set</summary>
 268    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 269    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 270    public bool HasWidth {
 0271      get { return (_hasBits0 & 16) != 0; }
 272    }
 273    /// <summary>Clears the value of the "width" field</summary>
 274    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 275    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 276    public void ClearWidth() {
 0277      _hasBits0 &= ~16;
 0278    }
 279
 280    /// <summary>Field number for the "height" field.</summary>
 281    public const int HeightFieldNumber = 7;
 282    private float height_;
 283    /// <summary>
 284    /// default=1
 285    /// </summary>
 286    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 287    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 288    public float Height {
 8289      get { if ((_hasBits0 & 32) != 0) { return height_; } else { return 0F; } }
 290      set {
 4291        _hasBits0 |= 32;
 4292        height_ = value;
 4293      }
 294    }
 295    /// <summary>Gets whether the "height" field is set</summary>
 296    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 297    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 298    public bool HasHeight {
 0299      get { return (_hasBits0 & 32) != 0; }
 300    }
 301    /// <summary>Clears the value of the "height" field</summary>
 302    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 303    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 304    public void ClearHeight() {
 0305      _hasBits0 &= ~32;
 0306    }
 307
 308    /// <summary>Field number for the "padding_top" field.</summary>
 309    public const int PaddingTopFieldNumber = 8;
 310    private float paddingTop_;
 311    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 312    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 313    public float PaddingTop {
 4314      get { if ((_hasBits0 & 64) != 0) { return paddingTop_; } else { return 0F; } }
 315      set {
 1316        _hasBits0 |= 64;
 1317        paddingTop_ = value;
 1318      }
 319    }
 320    /// <summary>Gets whether the "padding_top" field is set</summary>
 321    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 322    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 323    public bool HasPaddingTop {
 0324      get { return (_hasBits0 & 64) != 0; }
 325    }
 326    /// <summary>Clears the value of the "padding_top" field</summary>
 327    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 328    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 329    public void ClearPaddingTop() {
 0330      _hasBits0 &= ~64;
 0331    }
 332
 333    /// <summary>Field number for the "padding_right" field.</summary>
 334    public const int PaddingRightFieldNumber = 9;
 335    private float paddingRight_;
 336    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 337    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 338    public float PaddingRight {
 4339      get { if ((_hasBits0 & 128) != 0) { return paddingRight_; } else { return 0F; } }
 340      set {
 1341        _hasBits0 |= 128;
 1342        paddingRight_ = value;
 1343      }
 344    }
 345    /// <summary>Gets whether the "padding_right" field is set</summary>
 346    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 347    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 348    public bool HasPaddingRight {
 0349      get { return (_hasBits0 & 128) != 0; }
 350    }
 351    /// <summary>Clears the value of the "padding_right" field</summary>
 352    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 353    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 354    public void ClearPaddingRight() {
 0355      _hasBits0 &= ~128;
 0356    }
 357
 358    /// <summary>Field number for the "padding_bottom" field.</summary>
 359    public const int PaddingBottomFieldNumber = 10;
 360    private float paddingBottom_;
 361    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 362    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 363    public float PaddingBottom {
 4364      get { if ((_hasBits0 & 256) != 0) { return paddingBottom_; } else { return 0F; } }
 365      set {
 1366        _hasBits0 |= 256;
 1367        paddingBottom_ = value;
 1368      }
 369    }
 370    /// <summary>Gets whether the "padding_bottom" field is set</summary>
 371    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 372    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 373    public bool HasPaddingBottom {
 0374      get { return (_hasBits0 & 256) != 0; }
 375    }
 376    /// <summary>Clears the value of the "padding_bottom" field</summary>
 377    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 378    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 379    public void ClearPaddingBottom() {
 0380      _hasBits0 &= ~256;
 0381    }
 382
 383    /// <summary>Field number for the "padding_left" field.</summary>
 384    public const int PaddingLeftFieldNumber = 11;
 385    private float paddingLeft_;
 386    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 387    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 388    public float PaddingLeft {
 4389      get { if ((_hasBits0 & 512) != 0) { return paddingLeft_; } else { return 0F; } }
 390      set {
 1391        _hasBits0 |= 512;
 1392        paddingLeft_ = value;
 1393      }
 394    }
 395    /// <summary>Gets whether the "padding_left" field is set</summary>
 396    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 397    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 398    public bool HasPaddingLeft {
 0399      get { return (_hasBits0 & 512) != 0; }
 400    }
 401    /// <summary>Clears the value of the "padding_left" field</summary>
 402    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 403    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 404    public void ClearPaddingLeft() {
 0405      _hasBits0 &= ~512;
 0406    }
 407
 408    /// <summary>Field number for the "line_spacing" field.</summary>
 409    public const int LineSpacingFieldNumber = 12;
 410    private float lineSpacing_;
 411    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 412    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 413    public float LineSpacing {
 2414      get { if ((_hasBits0 & 1024) != 0) { return lineSpacing_; } else { return 0F; } }
 415      set {
 1416        _hasBits0 |= 1024;
 1417        lineSpacing_ = value;
 1418      }
 419    }
 420    /// <summary>Gets whether the "line_spacing" field is set</summary>
 421    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 422    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 423    public bool HasLineSpacing {
 0424      get { return (_hasBits0 & 1024) != 0; }
 425    }
 426    /// <summary>Clears the value of the "line_spacing" field</summary>
 427    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 428    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 429    public void ClearLineSpacing() {
 0430      _hasBits0 &= ~1024;
 0431    }
 432
 433    /// <summary>Field number for the "line_count" field.</summary>
 434    public const int LineCountFieldNumber = 13;
 435    private int lineCount_;
 436    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 437    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 438    public int LineCount {
 4439      get { if ((_hasBits0 & 2048) != 0) { return lineCount_; } else { return 0; } }
 440      set {
 1441        _hasBits0 |= 2048;
 1442        lineCount_ = value;
 1443      }
 444    }
 445    /// <summary>Gets whether the "line_count" field is set</summary>
 446    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 447    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 448    public bool HasLineCount {
 0449      get { return (_hasBits0 & 2048) != 0; }
 450    }
 451    /// <summary>Clears the value of the "line_count" field</summary>
 452    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 453    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 454    public void ClearLineCount() {
 0455      _hasBits0 &= ~2048;
 0456    }
 457
 458    /// <summary>Field number for the "text_wrapping" field.</summary>
 459    public const int TextWrappingFieldNumber = 14;
 460    private bool textWrapping_;
 461    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 462    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 463    public bool TextWrapping {
 20464      get { if ((_hasBits0 & 4096) != 0) { return textWrapping_; } else { return false; } }
 465      set {
 5466        _hasBits0 |= 4096;
 5467        textWrapping_ = value;
 5468      }
 469    }
 470    /// <summary>Gets whether the "text_wrapping" field is set</summary>
 471    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 472    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 473    public bool HasTextWrapping {
 0474      get { return (_hasBits0 & 4096) != 0; }
 475    }
 476    /// <summary>Clears the value of the "text_wrapping" field</summary>
 477    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 478    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 479    public void ClearTextWrapping() {
 0480      _hasBits0 &= ~4096;
 0481    }
 482
 483    /// <summary>Field number for the "shadow_blur" field.</summary>
 484    public const int ShadowBlurFieldNumber = 15;
 485    private float shadowBlur_;
 486    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 487    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 488    public float ShadowBlur {
 0489      get { if ((_hasBits0 & 8192) != 0) { return shadowBlur_; } else { return 0F; } }
 490      set {
 0491        _hasBits0 |= 8192;
 0492        shadowBlur_ = value;
 0493      }
 494    }
 495    /// <summary>Gets whether the "shadow_blur" field is set</summary>
 496    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 497    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 498    public bool HasShadowBlur {
 0499      get { return (_hasBits0 & 8192) != 0; }
 500    }
 501    /// <summary>Clears the value of the "shadow_blur" field</summary>
 502    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 503    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 504    public void ClearShadowBlur() {
 0505      _hasBits0 &= ~8192;
 0506    }
 507
 508    /// <summary>Field number for the "shadow_offset_x" field.</summary>
 509    public const int ShadowOffsetXFieldNumber = 16;
 510    private float shadowOffsetX_;
 511    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 512    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 513    public float ShadowOffsetX {
 0514      get { if ((_hasBits0 & 16384) != 0) { return shadowOffsetX_; } else { return 0F; } }
 515      set {
 0516        _hasBits0 |= 16384;
 0517        shadowOffsetX_ = value;
 0518      }
 519    }
 520    /// <summary>Gets whether the "shadow_offset_x" field is set</summary>
 521    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 522    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 523    public bool HasShadowOffsetX {
 0524      get { return (_hasBits0 & 16384) != 0; }
 525    }
 526    /// <summary>Clears the value of the "shadow_offset_x" field</summary>
 527    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 528    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 529    public void ClearShadowOffsetX() {
 0530      _hasBits0 &= ~16384;
 0531    }
 532
 533    /// <summary>Field number for the "shadow_offset_y" field.</summary>
 534    public const int ShadowOffsetYFieldNumber = 17;
 535    private float shadowOffsetY_;
 536    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 537    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 538    public float ShadowOffsetY {
 0539      get { if ((_hasBits0 & 32768) != 0) { return shadowOffsetY_; } else { return 0F; } }
 540      set {
 0541        _hasBits0 |= 32768;
 0542        shadowOffsetY_ = value;
 0543      }
 544    }
 545    /// <summary>Gets whether the "shadow_offset_y" field is set</summary>
 546    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 547    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 548    public bool HasShadowOffsetY {
 0549      get { return (_hasBits0 & 32768) != 0; }
 550    }
 551    /// <summary>Clears the value of the "shadow_offset_y" field</summary>
 552    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 553    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 554    public void ClearShadowOffsetY() {
 0555      _hasBits0 &= ~32768;
 0556    }
 557
 558    /// <summary>Field number for the "outline_width" field.</summary>
 559    public const int OutlineWidthFieldNumber = 18;
 560    private float outlineWidth_;
 561    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 562    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 563    public float OutlineWidth {
 4564      get { if ((_hasBits0 & 65536) != 0) { return outlineWidth_; } else { return 0F; } }
 565      set {
 1566        _hasBits0 |= 65536;
 1567        outlineWidth_ = value;
 1568      }
 569    }
 570    /// <summary>Gets whether the "outline_width" field is set</summary>
 571    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 572    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 573    public bool HasOutlineWidth {
 0574      get { return (_hasBits0 & 65536) != 0; }
 575    }
 576    /// <summary>Clears the value of the "outline_width" field</summary>
 577    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 578    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 579    public void ClearOutlineWidth() {
 0580      _hasBits0 &= ~65536;
 0581    }
 582
 583    /// <summary>Field number for the "shadow_color" field.</summary>
 584    public const int ShadowColorFieldNumber = 19;
 585    private global::DCL.ECSComponents.Color3 shadowColor_;
 586    /// <summary>
 587    /// default=(1.0,1.0,1.0)
 588    /// </summary>
 589    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 590    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 591    public global::DCL.ECSComponents.Color3 ShadowColor {
 0592      get { return shadowColor_; }
 593      set {
 0594        shadowColor_ = value;
 0595      }
 596    }
 597
 598    /// <summary>Field number for the "outline_color" field.</summary>
 599    public const int OutlineColorFieldNumber = 20;
 600    private global::DCL.ECSComponents.Color3 outlineColor_;
 601    /// <summary>
 602    /// default=(1.0,1.0,1.0)
 603    /// </summary>
 604    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 605    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 606    public global::DCL.ECSComponents.Color3 OutlineColor {
 0607      get { return outlineColor_; }
 608      set {
 0609        outlineColor_ = value;
 0610      }
 611    }
 612
 613    /// <summary>Field number for the "text_color" field.</summary>
 614    public const int TextColorFieldNumber = 21;
 615    private global::DCL.ECSComponents.Color4 textColor_;
 616    /// <summary>
 617    /// default=(1.0,1.0,1.0)
 618    /// </summary>
 619    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 620    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 621    public global::DCL.ECSComponents.Color4 TextColor {
 0622      get { return textColor_; }
 623      set {
 0624        textColor_ = value;
 0625      }
 626    }
 627
 628    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 629    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 630    public override bool Equals(object other) {
 0631      return Equals(other as PBTextShape);
 632    }
 633
 634    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 635    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 636    public bool Equals(PBTextShape other) {
 22637      if (ReferenceEquals(other, null)) {
 20638        return false;
 639      }
 2640      if (ReferenceEquals(other, this)) {
 0641        return true;
 642      }
 3643      if (Text != other.Text) return false;
 2644      if (Font != other.Font) return false;
 0645      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false;
 0646      if (FontAutoSize != other.FontAutoSize) return false;
 0647      if (TextAlign != other.TextAlign) return false;
 0648      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false;
 0649      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false;
 0650      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal
 0651      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return
 0652      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu
 0653      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f
 0654      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineSpacing, other.LineSpacing)) return f
 0655      if (LineCount != other.LineCount) return false;
 0656      if (TextWrapping != other.TextWrapping) return false;
 0657      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal
 0658      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu
 0659      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu
 0660      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return
 0661      if (!object.Equals(ShadowColor, other.ShadowColor)) return false;
 0662      if (!object.Equals(OutlineColor, other.OutlineColor)) return false;
 0663      if (!object.Equals(TextColor, other.TextColor)) return false;
 0664      return Equals(_unknownFields, other._unknownFields);
 665    }
 666
 667    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 668    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 669    public override int GetHashCode() {
 0670      int hash = 1;
 0671      if (Text.Length != 0) hash ^= Text.GetHashCode();
 0672      if (HasFont) hash ^= Font.GetHashCode();
 0673      if (HasFontSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize);
 0674      if (HasFontAutoSize) hash ^= FontAutoSize.GetHashCode();
 0675      if (HasTextAlign) hash ^= TextAlign.GetHashCode();
 0676      if (HasWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width);
 0677      if (HasHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height);
 0678      if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop);
 0679      if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight
 0680      if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott
 0681      if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft);
 0682      if (HasLineSpacing) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineSpacing);
 0683      if (HasLineCount) hash ^= LineCount.GetHashCode();
 0684      if (HasTextWrapping) hash ^= TextWrapping.GetHashCode();
 0685      if (HasShadowBlur) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur);
 0686      if (HasShadowOffsetX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse
 0687      if (HasShadowOffsetY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse
 0688      if (HasOutlineWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWidth
 0689      if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode();
 0690      if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode();
 0691      if (textColor_ != null) hash ^= TextColor.GetHashCode();
 0692      if (_unknownFields != null) {
 0693        hash ^= _unknownFields.GetHashCode();
 694      }
 0695      return hash;
 696    }
 697
 698    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 699    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 700    public override string ToString() {
 0701      return pb::JsonFormatter.ToDiagnosticString(this);
 702    }
 703
 704    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 705    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 706    public void WriteTo(pb::CodedOutputStream output) {
 707    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 708      output.WriteRawMessage(this);
 709    #else
 0710      if (Text.Length != 0) {
 0711        output.WriteRawTag(10);
 0712        output.WriteString(Text);
 713      }
 0714      if (HasFont) {
 0715        output.WriteRawTag(16);
 0716        output.WriteEnum((int) Font);
 717      }
 0718      if (HasFontSize) {
 0719        output.WriteRawTag(29);
 0720        output.WriteFloat(FontSize);
 721      }
 0722      if (HasFontAutoSize) {
 0723        output.WriteRawTag(32);
 0724        output.WriteBool(FontAutoSize);
 725      }
 0726      if (HasTextAlign) {
 0727        output.WriteRawTag(40);
 0728        output.WriteEnum((int) TextAlign);
 729      }
 0730      if (HasWidth) {
 0731        output.WriteRawTag(53);
 0732        output.WriteFloat(Width);
 733      }
 0734      if (HasHeight) {
 0735        output.WriteRawTag(61);
 0736        output.WriteFloat(Height);
 737      }
 0738      if (HasPaddingTop) {
 0739        output.WriteRawTag(69);
 0740        output.WriteFloat(PaddingTop);
 741      }
 0742      if (HasPaddingRight) {
 0743        output.WriteRawTag(77);
 0744        output.WriteFloat(PaddingRight);
 745      }
 0746      if (HasPaddingBottom) {
 0747        output.WriteRawTag(85);
 0748        output.WriteFloat(PaddingBottom);
 749      }
 0750      if (HasPaddingLeft) {
 0751        output.WriteRawTag(93);
 0752        output.WriteFloat(PaddingLeft);
 753      }
 0754      if (HasLineSpacing) {
 0755        output.WriteRawTag(101);
 0756        output.WriteFloat(LineSpacing);
 757      }
 0758      if (HasLineCount) {
 0759        output.WriteRawTag(104);
 0760        output.WriteInt32(LineCount);
 761      }
 0762      if (HasTextWrapping) {
 0763        output.WriteRawTag(112);
 0764        output.WriteBool(TextWrapping);
 765      }
 0766      if (HasShadowBlur) {
 0767        output.WriteRawTag(125);
 0768        output.WriteFloat(ShadowBlur);
 769      }
 0770      if (HasShadowOffsetX) {
 0771        output.WriteRawTag(133, 1);
 0772        output.WriteFloat(ShadowOffsetX);
 773      }
 0774      if (HasShadowOffsetY) {
 0775        output.WriteRawTag(141, 1);
 0776        output.WriteFloat(ShadowOffsetY);
 777      }
 0778      if (HasOutlineWidth) {
 0779        output.WriteRawTag(149, 1);
 0780        output.WriteFloat(OutlineWidth);
 781      }
 0782      if (shadowColor_ != null) {
 0783        output.WriteRawTag(154, 1);
 0784        output.WriteMessage(ShadowColor);
 785      }
 0786      if (outlineColor_ != null) {
 0787        output.WriteRawTag(162, 1);
 0788        output.WriteMessage(OutlineColor);
 789      }
 0790      if (textColor_ != null) {
 0791        output.WriteRawTag(170, 1);
 0792        output.WriteMessage(TextColor);
 793      }
 0794      if (_unknownFields != null) {
 0795        _unknownFields.WriteTo(output);
 796      }
 797    #endif
 0798    }
 799
 800    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 801    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 802    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 803    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 804      if (Text.Length != 0) {
 805        output.WriteRawTag(10);
 806        output.WriteString(Text);
 807      }
 808      if (HasFont) {
 809        output.WriteRawTag(16);
 810        output.WriteEnum((int) Font);
 811      }
 812      if (HasFontSize) {
 813        output.WriteRawTag(29);
 814        output.WriteFloat(FontSize);
 815      }
 816      if (HasFontAutoSize) {
 817        output.WriteRawTag(32);
 818        output.WriteBool(FontAutoSize);
 819      }
 820      if (HasTextAlign) {
 821        output.WriteRawTag(40);
 822        output.WriteEnum((int) TextAlign);
 823      }
 824      if (HasWidth) {
 825        output.WriteRawTag(53);
 826        output.WriteFloat(Width);
 827      }
 828      if (HasHeight) {
 829        output.WriteRawTag(61);
 830        output.WriteFloat(Height);
 831      }
 832      if (HasPaddingTop) {
 833        output.WriteRawTag(69);
 834        output.WriteFloat(PaddingTop);
 835      }
 836      if (HasPaddingRight) {
 837        output.WriteRawTag(77);
 838        output.WriteFloat(PaddingRight);
 839      }
 840      if (HasPaddingBottom) {
 841        output.WriteRawTag(85);
 842        output.WriteFloat(PaddingBottom);
 843      }
 844      if (HasPaddingLeft) {
 845        output.WriteRawTag(93);
 846        output.WriteFloat(PaddingLeft);
 847      }
 848      if (HasLineSpacing) {
 849        output.WriteRawTag(101);
 850        output.WriteFloat(LineSpacing);
 851      }
 852      if (HasLineCount) {
 853        output.WriteRawTag(104);
 854        output.WriteInt32(LineCount);
 855      }
 856      if (HasTextWrapping) {
 857        output.WriteRawTag(112);
 858        output.WriteBool(TextWrapping);
 859      }
 860      if (HasShadowBlur) {
 861        output.WriteRawTag(125);
 862        output.WriteFloat(ShadowBlur);
 863      }
 864      if (HasShadowOffsetX) {
 865        output.WriteRawTag(133, 1);
 866        output.WriteFloat(ShadowOffsetX);
 867      }
 868      if (HasShadowOffsetY) {
 869        output.WriteRawTag(141, 1);
 870        output.WriteFloat(ShadowOffsetY);
 871      }
 872      if (HasOutlineWidth) {
 873        output.WriteRawTag(149, 1);
 874        output.WriteFloat(OutlineWidth);
 875      }
 876      if (shadowColor_ != null) {
 877        output.WriteRawTag(154, 1);
 878        output.WriteMessage(ShadowColor);
 879      }
 880      if (outlineColor_ != null) {
 881        output.WriteRawTag(162, 1);
 882        output.WriteMessage(OutlineColor);
 883      }
 884      if (textColor_ != null) {
 885        output.WriteRawTag(170, 1);
 886        output.WriteMessage(TextColor);
 887      }
 888      if (_unknownFields != null) {
 889        _unknownFields.WriteTo(ref output);
 890      }
 891    }
 892    #endif
 893
 894    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 895    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 896    public int CalculateSize() {
 0897      int size = 0;
 0898      if (Text.Length != 0) {
 0899        size += 1 + pb::CodedOutputStream.ComputeStringSize(Text);
 900      }
 0901      if (HasFont) {
 0902        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Font);
 903      }
 0904      if (HasFontSize) {
 0905        size += 1 + 4;
 906      }
 0907      if (HasFontAutoSize) {
 0908        size += 1 + 1;
 909      }
 0910      if (HasTextAlign) {
 0911        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TextAlign);
 912      }
 0913      if (HasWidth) {
 0914        size += 1 + 4;
 915      }
 0916      if (HasHeight) {
 0917        size += 1 + 4;
 918      }
 0919      if (HasPaddingTop) {
 0920        size += 1 + 4;
 921      }
 0922      if (HasPaddingRight) {
 0923        size += 1 + 4;
 924      }
 0925      if (HasPaddingBottom) {
 0926        size += 1 + 4;
 927      }
 0928      if (HasPaddingLeft) {
 0929        size += 1 + 4;
 930      }
 0931      if (HasLineSpacing) {
 0932        size += 1 + 4;
 933      }
 0934      if (HasLineCount) {
 0935        size += 1 + pb::CodedOutputStream.ComputeInt32Size(LineCount);
 936      }
 0937      if (HasTextWrapping) {
 0938        size += 1 + 1;
 939      }
 0940      if (HasShadowBlur) {
 0941        size += 1 + 4;
 942      }
 0943      if (HasShadowOffsetX) {
 0944        size += 2 + 4;
 945      }
 0946      if (HasShadowOffsetY) {
 0947        size += 2 + 4;
 948      }
 0949      if (HasOutlineWidth) {
 0950        size += 2 + 4;
 951      }
 0952      if (shadowColor_ != null) {
 0953        size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor);
 954      }
 0955      if (outlineColor_ != null) {
 0956        size += 2 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor);
 957      }
 0958      if (textColor_ != null) {
 0959        size += 2 + pb::CodedOutputStream.ComputeMessageSize(TextColor);
 960      }
 0961      if (_unknownFields != null) {
 0962        size += _unknownFields.CalculateSize();
 963      }
 0964      return size;
 965    }
 966
 967    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 968    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 969    public void MergeFrom(PBTextShape other) {
 0970      if (other == null) {
 0971        return;
 972      }
 0973      if (other.Text.Length != 0) {
 0974        Text = other.Text;
 975      }
 0976      if (other.HasFont) {
 0977        Font = other.Font;
 978      }
 0979      if (other.HasFontSize) {
 0980        FontSize = other.FontSize;
 981      }
 0982      if (other.HasFontAutoSize) {
 0983        FontAutoSize = other.FontAutoSize;
 984      }
 0985      if (other.HasTextAlign) {
 0986        TextAlign = other.TextAlign;
 987      }
 0988      if (other.HasWidth) {
 0989        Width = other.Width;
 990      }
 0991      if (other.HasHeight) {
 0992        Height = other.Height;
 993      }
 0994      if (other.HasPaddingTop) {
 0995        PaddingTop = other.PaddingTop;
 996      }
 0997      if (other.HasPaddingRight) {
 0998        PaddingRight = other.PaddingRight;
 999      }
 01000      if (other.HasPaddingBottom) {
 01001        PaddingBottom = other.PaddingBottom;
 1002      }
 01003      if (other.HasPaddingLeft) {
 01004        PaddingLeft = other.PaddingLeft;
 1005      }
 01006      if (other.HasLineSpacing) {
 01007        LineSpacing = other.LineSpacing;
 1008      }
 01009      if (other.HasLineCount) {
 01010        LineCount = other.LineCount;
 1011      }
 01012      if (other.HasTextWrapping) {
 01013        TextWrapping = other.TextWrapping;
 1014      }
 01015      if (other.HasShadowBlur) {
 01016        ShadowBlur = other.ShadowBlur;
 1017      }
 01018      if (other.HasShadowOffsetX) {
 01019        ShadowOffsetX = other.ShadowOffsetX;
 1020      }
 01021      if (other.HasShadowOffsetY) {
 01022        ShadowOffsetY = other.ShadowOffsetY;
 1023      }
 01024      if (other.HasOutlineWidth) {
 01025        OutlineWidth = other.OutlineWidth;
 1026      }
 01027      if (other.shadowColor_ != null) {
 01028        if (shadowColor_ == null) {
 01029          ShadowColor = new global::DCL.ECSComponents.Color3();
 1030        }
 01031        ShadowColor.MergeFrom(other.ShadowColor);
 1032      }
 01033      if (other.outlineColor_ != null) {
 01034        if (outlineColor_ == null) {
 01035          OutlineColor = new global::DCL.ECSComponents.Color3();
 1036        }
 01037        OutlineColor.MergeFrom(other.OutlineColor);
 1038      }
 01039      if (other.textColor_ != null) {
 01040        if (textColor_ == null) {
 01041          TextColor = new global::DCL.ECSComponents.Color4();
 1042        }
 01043        TextColor.MergeFrom(other.TextColor);
 1044      }
 01045      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01046    }
 1047
 1048    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1049    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1050    public void MergeFrom(pb::CodedInputStream input) {
 1051    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1052      input.ReadRawMessage(this);
 1053    #else
 1054      uint tag;
 01055      while ((tag = input.ReadTag()) != 0) {
 1056        switch(tag) {
 1057          default:
 01058            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 01059            break;
 1060          case 10: {
 01061            Text = input.ReadString();
 01062            break;
 1063          }
 1064          case 16: {
 01065            Font = (global::DCL.ECSComponents.Font) input.ReadEnum();
 01066            break;
 1067          }
 1068          case 29: {
 01069            FontSize = input.ReadFloat();
 01070            break;
 1071          }
 1072          case 32: {
 01073            FontAutoSize = input.ReadBool();
 01074            break;
 1075          }
 1076          case 40: {
 01077            TextAlign = (global::DCL.ECSComponents.TextAlignMode) input.ReadEnum();
 01078            break;
 1079          }
 1080          case 53: {
 01081            Width = input.ReadFloat();
 01082            break;
 1083          }
 1084          case 61: {
 01085            Height = input.ReadFloat();
 01086            break;
 1087          }
 1088          case 69: {
 01089            PaddingTop = input.ReadFloat();
 01090            break;
 1091          }
 1092          case 77: {
 01093            PaddingRight = input.ReadFloat();
 01094            break;
 1095          }
 1096          case 85: {
 01097            PaddingBottom = input.ReadFloat();
 01098            break;
 1099          }
 1100          case 93: {
 01101            PaddingLeft = input.ReadFloat();
 01102            break;
 1103          }
 1104          case 101: {
 01105            LineSpacing = input.ReadFloat();
 01106            break;
 1107          }
 1108          case 104: {
 01109            LineCount = input.ReadInt32();
 01110            break;
 1111          }
 1112          case 112: {
 01113            TextWrapping = input.ReadBool();
 01114            break;
 1115          }
 1116          case 125: {
 01117            ShadowBlur = input.ReadFloat();
 01118            break;
 1119          }
 1120          case 133: {
 01121            ShadowOffsetX = input.ReadFloat();
 01122            break;
 1123          }
 1124          case 141: {
 01125            ShadowOffsetY = input.ReadFloat();
 01126            break;
 1127          }
 1128          case 149: {
 01129            OutlineWidth = input.ReadFloat();
 01130            break;
 1131          }
 1132          case 154: {
 01133            if (shadowColor_ == null) {
 01134              ShadowColor = new global::DCL.ECSComponents.Color3();
 1135            }
 01136            input.ReadMessage(ShadowColor);
 01137            break;
 1138          }
 1139          case 162: {
 01140            if (outlineColor_ == null) {
 01141              OutlineColor = new global::DCL.ECSComponents.Color3();
 1142            }
 01143            input.ReadMessage(OutlineColor);
 01144            break;
 1145          }
 1146          case 170: {
 01147            if (textColor_ == null) {
 01148              TextColor = new global::DCL.ECSComponents.Color4();
 1149            }
 01150            input.ReadMessage(TextColor);
 1151            break;
 1152          }
 1153        }
 1154      }
 1155    #endif
 01156    }
 1157
 1158    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1159    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1160    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1161    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1162      uint tag;
 1163      while ((tag = input.ReadTag()) != 0) {
 1164        switch(tag) {
 1165          default:
 1166            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1167            break;
 1168          case 10: {
 1169            Text = input.ReadString();
 1170            break;
 1171          }
 1172          case 16: {
 1173            Font = (global::DCL.ECSComponents.Font) input.ReadEnum();
 1174            break;
 1175          }
 1176          case 29: {
 1177            FontSize = input.ReadFloat();
 1178            break;
 1179          }
 1180          case 32: {
 1181            FontAutoSize = input.ReadBool();
 1182            break;
 1183          }
 1184          case 40: {
 1185            TextAlign = (global::DCL.ECSComponents.TextAlignMode) input.ReadEnum();
 1186            break;
 1187          }
 1188          case 53: {
 1189            Width = input.ReadFloat();
 1190            break;
 1191          }
 1192          case 61: {
 1193            Height = input.ReadFloat();
 1194            break;
 1195          }
 1196          case 69: {
 1197            PaddingTop = input.ReadFloat();
 1198            break;
 1199          }
 1200          case 77: {
 1201            PaddingRight = input.ReadFloat();
 1202            break;
 1203          }
 1204          case 85: {
 1205            PaddingBottom = input.ReadFloat();
 1206            break;
 1207          }
 1208          case 93: {
 1209            PaddingLeft = input.ReadFloat();
 1210            break;
 1211          }
 1212          case 101: {
 1213            LineSpacing = input.ReadFloat();
 1214            break;
 1215          }
 1216          case 104: {
 1217            LineCount = input.ReadInt32();
 1218            break;
 1219          }
 1220          case 112: {
 1221            TextWrapping = input.ReadBool();
 1222            break;
 1223          }
 1224          case 125: {
 1225            ShadowBlur = input.ReadFloat();
 1226            break;
 1227          }
 1228          case 133: {
 1229            ShadowOffsetX = input.ReadFloat();
 1230            break;
 1231          }
 1232          case 141: {
 1233            ShadowOffsetY = input.ReadFloat();
 1234            break;
 1235          }
 1236          case 149: {
 1237            OutlineWidth = input.ReadFloat();
 1238            break;
 1239          }
 1240          case 154: {
 1241            if (shadowColor_ == null) {
 1242              ShadowColor = new global::DCL.ECSComponents.Color3();
 1243            }
 1244            input.ReadMessage(ShadowColor);
 1245            break;
 1246          }
 1247          case 162: {
 1248            if (outlineColor_ == null) {
 1249              OutlineColor = new global::DCL.ECSComponents.Color3();
 1250            }
 1251            input.ReadMessage(OutlineColor);
 1252            break;
 1253          }
 1254          case 170: {
 1255            if (textColor_ == null) {
 1256              TextColor = new global::DCL.ECSComponents.Color4();
 1257            }
 1258            input.ReadMessage(TextColor);
 1259            break;
 1260          }
 1261        }
 1262      }
 1263    }
 1264    #endif
 1265
 1266  }
 1267
 1268  #endregion
 1269
 1270}
 1271
 1272#endregion Designer generated code

Methods/Properties

PBTextShape()
Parser()
Descriptor()
get_Descriptor()
PBTextShape()
PBTextShape(DCL.ECSComponents.PBTextShape)
Clone()
Text()
Text(System.String)
Font()
Font(DCL.ECSComponents.Font)
HasFont()
ClearFont()
FontSize()
FontSize(System.Single)
HasFontSize()
ClearFontSize()
FontAutoSize()
FontAutoSize(System.Boolean)
HasFontAutoSize()
ClearFontAutoSize()
TextAlign()
TextAlign(DCL.ECSComponents.TextAlignMode)
HasTextAlign()
ClearTextAlign()
Width()
Width(System.Single)
HasWidth()
ClearWidth()
Height()
Height(System.Single)
HasHeight()
ClearHeight()
PaddingTop()
PaddingTop(System.Single)
HasPaddingTop()
ClearPaddingTop()
PaddingRight()
PaddingRight(System.Single)
HasPaddingRight()
ClearPaddingRight()
PaddingBottom()
PaddingBottom(System.Single)
HasPaddingBottom()
ClearPaddingBottom()
PaddingLeft()
PaddingLeft(System.Single)
HasPaddingLeft()
ClearPaddingLeft()
LineSpacing()
LineSpacing(System.Single)
HasLineSpacing()
ClearLineSpacing()
LineCount()
LineCount(System.Int32)
HasLineCount()
ClearLineCount()
TextWrapping()
TextWrapping(System.Boolean)
HasTextWrapping()
ClearTextWrapping()
ShadowBlur()
ShadowBlur(System.Single)
HasShadowBlur()
ClearShadowBlur()
ShadowOffsetX()
ShadowOffsetX(System.Single)
HasShadowOffsetX()
ClearShadowOffsetX()
ShadowOffsetY()
ShadowOffsetY(System.Single)
HasShadowOffsetY()
ClearShadowOffsetY()
OutlineWidth()
OutlineWidth(System.Single)
HasOutlineWidth()
ClearOutlineWidth()
ShadowColor()
ShadowColor(DCL.ECSComponents.Color3)
OutlineColor()
OutlineColor(DCL.ECSComponents.Color3)
TextColor()
TextColor(DCL.ECSComponents.Color4)
Equals(System.Object)
Equals(DCL.ECSComponents.PBTextShape)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBTextShape)
MergeFrom(Google.Protobuf.CodedInputStream)