< Summary

Class:DCL.ECSComponents.PBTextShape
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/PBFiles/TextShape.cs
Covered lines:179
Uncovered lines:307
Coverable lines:486
Total lines:1422
Line coverage:36.8% (179 of 486)
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%
ClearVisible()0%2100%
ClearFont()0%2100%
ClearOpacity()0%2100%
ClearFontSize()0%2100%
ClearFontAutoSize()0%2100%
ClearHTextAlign()0%2100%
ClearVTextAlign()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%110100%
Equals(...)0%603.032707.55%
GetHashCode()0%27.0426088.46%
ToString()0%2100%
WriteTo(...)0%107.1526050.67%
CalculateSize()0%58.9826063.46%
MergeFrom(...)0%8702900%
MergeFrom(...)0%554.3936026.32%

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: TextShape.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 TextShape.proto</summary>
 15  public static partial class TextShapeReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for TextShape.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            "Cg9UZXh0U2hhcGUucHJvdG8SEGRlY2VudHJhbGFuZC5lY3MaE2NvbW1vbi9D",
 28            "b2xvcjMucHJvdG8i8AcKC1BCVGV4dFNoYXBlEgwKBHRleHQYASABKAkSFAoH",
 29            "dmlzaWJsZRgCIAEoCEgAiAEBEhEKBGZvbnQYAyABKAlIAYgBARIUCgdvcGFj",
 30            "aXR5GAQgASgCSAKIAQESFgoJZm9udF9TaXplGAUgASgCSAOIAQESGgoNZm9u",
 31            "dF9hdXRvU2l6ZRgGIAEoCEgEiAEBEhkKDGhfdGV4dF9hbGlnbhgHIAEoCUgF",
 32            "iAEBEhkKDHZfdGV4dF9hbGlnbhgIIAEoCUgGiAEBEhIKBXdpZHRoGAkgASgC",
 33            "SAeIAQESEwoGaGVpZ2h0GAogASgCSAiIAQESGAoLcGFkZGluZ190b3AYCyAB",
 34            "KAJICYgBARIaCg1wYWRkaW5nX3JpZ2h0GAwgASgCSAqIAQESGwoOcGFkZGlu",
 35            "Z19ib3R0b20YDSABKAJIC4gBARIZCgxwYWRkaW5nX2xlZnQYDiABKAJIDIgB",
 36            "ARIZCgxsaW5lX3NwYWNpbmcYDyABKAJIDYgBARIXCgpsaW5lX2NvdW50GBAg",
 37            "ASgFSA6IAQESGgoNdGV4dF93cmFwcGluZxgRIAEoCEgPiAEBEhgKC3NoYWRv",
 38            "d19ibHVyGBIgASgCSBCIAQESGwoOc2hhZG93X29mZnNldFgYEyABKAJIEYgB",
 39            "ARIbCg5zaGFkb3dfb2Zmc2V0WRgUIAEoAkgSiAEBEhoKDW91dGxpbmVfd2lk",
 40            "dGgYFSABKAJIE4gBARIiCgxzaGFkb3dfY29sb3IYFiABKAsyBy5Db2xvcjNI",
 41            "FIgBARIjCg1vdXRsaW5lX2NvbG9yGBcgASgLMgcuQ29sb3IzSBWIAQESIAoK",
 42            "dGV4dF9jb2xvchgYIAEoCzIHLkNvbG9yM0gWiAEBQgoKCF92aXNpYmxlQgcK",
 43            "BV9mb250QgoKCF9vcGFjaXR5QgwKCl9mb250X1NpemVCEAoOX2ZvbnRfYXV0",
 44            "b1NpemVCDwoNX2hfdGV4dF9hbGlnbkIPCg1fdl90ZXh0X2FsaWduQggKBl93",
 45            "aWR0aEIJCgdfaGVpZ2h0Qg4KDF9wYWRkaW5nX3RvcEIQCg5fcGFkZGluZ19y",
 46            "aWdodEIRCg9fcGFkZGluZ19ib3R0b21CDwoNX3BhZGRpbmdfbGVmdEIPCg1f",
 47            "bGluZV9zcGFjaW5nQg0KC19saW5lX2NvdW50QhAKDl90ZXh0X3dyYXBwaW5n",
 48            "Qg4KDF9zaGFkb3dfYmx1ckIRCg9fc2hhZG93X29mZnNldFhCEQoPX3NoYWRv",
 49            "d19vZmZzZXRZQhAKDl9vdXRsaW5lX3dpZHRoQg8KDV9zaGFkb3dfY29sb3JC",
 50            "EAoOX291dGxpbmVfY29sb3JCDQoLX3RleHRfY29sb3JCFKoCEURDTC5FQ1ND",
 51            "b21wb25lbnRzYgZwcm90bzM="));
 52      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 53          new pbr::FileDescriptor[] { global::Color3Reflection.Descriptor, },
 54          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 55            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBTextShape), global::DCL.ECSComponents.PBTex
 56          }));
 57    }
 58    #endregion
 59
 60  }
 61  #region Messages
 62  public sealed partial class PBTextShape : pb::IMessage<PBTextShape>
 63  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 64      , pb::IBufferMessage
 65  #endif
 66  {
 267    private static readonly pb::MessageParser<PBTextShape> _parser = new pb::MessageParser<PBTextShape>(() => new PBText
 68    private pb::UnknownFieldSet _unknownFields;
 69    private int _hasBits0;
 70    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 71    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 072    public static pb::MessageParser<PBTextShape> Parser { get { return _parser; } }
 73
 74    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 75    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 76    public static pbr::MessageDescriptor Descriptor {
 077      get { return global::DCL.ECSComponents.TextShapeReflection.Descriptor.MessageTypes[0]; }
 78    }
 79
 80    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 81    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 82    pbr::MessageDescriptor pb::IMessage.Descriptor {
 083      get { return Descriptor; }
 84    }
 85
 86    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 87    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3088    public PBTextShape() {
 89      OnConstruction();
 3090    }
 91
 92    partial void OnConstruction();
 93
 94    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 95    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 096    public PBTextShape(PBTextShape other) : this() {
 097      _hasBits0 = other._hasBits0;
 098      text_ = other.text_;
 099      visible_ = other.visible_;
 0100      font_ = other.font_;
 0101      opacity_ = other.opacity_;
 0102      fontSize_ = other.fontSize_;
 0103      fontAutoSize_ = other.fontAutoSize_;
 0104      hTextAlign_ = other.hTextAlign_;
 0105      vTextAlign_ = other.vTextAlign_;
 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;
 30133    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 "visible" field.</summary>
 144    public const int VisibleFieldNumber = 2;
 145    private bool visible_;
 146    /// <summary>
 147    /// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
 148    /// </summary>
 149    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 150    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 151    public bool Visible {
 0152      get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } }
 153      set {
 2154        _hasBits0 |= 1;
 2155        visible_ = value;
 2156      }
 157    }
 158    /// <summary>Gets whether the "visible" field is set</summary>
 159    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 160    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 161    public bool HasVisible {
 0162      get { return (_hasBits0 & 1) != 0; }
 163    }
 164    /// <summary>Clears the value of the "visible" field</summary>
 165    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 166    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 167    public void ClearVisible() {
 0168      _hasBits0 &= ~1;
 0169    }
 170
 171    /// <summary>Field number for the "font" field.</summary>
 172    public const int FontFieldNumber = 3;
 173    private string font_;
 174    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 175    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 176    public string Font {
 0177      get { return font_ ?? ""; }
 178      set {
 30179        font_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 30180      }
 181    }
 182    /// <summary>Gets whether the "font" field is set</summary>
 183    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 184    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 185    public bool HasFont {
 0186      get { return font_ != null; }
 187    }
 188    /// <summary>Clears the value of the "font" field</summary>
 189    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 190    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 191    public void ClearFont() {
 0192      font_ = null;
 0193    }
 194
 195    /// <summary>Field number for the "opacity" field.</summary>
 196    public const int OpacityFieldNumber = 4;
 197    private float opacity_;
 198    /// <summary>
 199    /// default=1.0f
 200    /// </summary>
 201    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 202    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 203    public float Opacity {
 6204      get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } }
 205      set {
 1206        _hasBits0 |= 2;
 1207        opacity_ = value;
 1208      }
 209    }
 210    /// <summary>Gets whether the "opacity" field is set</summary>
 211    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 212    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 213    public bool HasOpacity {
 0214      get { return (_hasBits0 & 2) != 0; }
 215    }
 216    /// <summary>Clears the value of the "opacity" field</summary>
 217    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 218    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 219    public void ClearOpacity() {
 0220      _hasBits0 &= ~2;
 0221    }
 222
 223    /// <summary>Field number for the "font_Size" field.</summary>
 224    public const int FontSizeFieldNumber = 5;
 225    private float fontSize_;
 226    /// <summary>
 227    /// default=10
 228    /// </summary>
 229    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 230    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 231    public float FontSize {
 10232      get { if ((_hasBits0 & 4) != 0) { return fontSize_; } else { return 0F; } }
 233      set {
 3234        _hasBits0 |= 4;
 3235        fontSize_ = value;
 3236      }
 237    }
 238    /// <summary>Gets whether the "font_Size" field is set</summary>
 239    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 240    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 241    public bool HasFontSize {
 0242      get { return (_hasBits0 & 4) != 0; }
 243    }
 244    /// <summary>Clears the value of the "font_Size" field</summary>
 245    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 246    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 247    public void ClearFontSize() {
 0248      _hasBits0 &= ~4;
 0249    }
 250
 251    /// <summary>Field number for the "font_autoSize" field.</summary>
 252    public const int FontAutoSizeFieldNumber = 6;
 253    private bool fontAutoSize_;
 254    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 255    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 256    public bool FontAutoSize {
 0257      get { if ((_hasBits0 & 8) != 0) { return fontAutoSize_; } else { return false; } }
 258      set {
 2259        _hasBits0 |= 8;
 2260        fontAutoSize_ = value;
 2261      }
 262    }
 263    /// <summary>Gets whether the "font_autoSize" field is set</summary>
 264    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 265    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 266    public bool HasFontAutoSize {
 0267      get { return (_hasBits0 & 8) != 0; }
 268    }
 269    /// <summary>Clears the value of the "font_autoSize" field</summary>
 270    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 271    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 272    public void ClearFontAutoSize() {
 0273      _hasBits0 &= ~8;
 0274    }
 275
 276    /// <summary>Field number for the "h_text_align" field.</summary>
 277    public const int HTextAlignFieldNumber = 7;
 278    private string hTextAlign_;
 279    /// <summary>
 280    /// default='center'
 281    /// </summary>
 282    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 283    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 284    public string HTextAlign {
 0285      get { return hTextAlign_ ?? ""; }
 286      set {
 0287        hTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0288      }
 289    }
 290    /// <summary>Gets whether the "h_text_align" field is set</summary>
 291    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 292    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 293    public bool HasHTextAlign {
 0294      get { return hTextAlign_ != null; }
 295    }
 296    /// <summary>Clears the value of the "h_text_align" field</summary>
 297    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 298    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 299    public void ClearHTextAlign() {
 0300      hTextAlign_ = null;
 0301    }
 302
 303    /// <summary>Field number for the "v_text_align" field.</summary>
 304    public const int VTextAlignFieldNumber = 8;
 305    private string vTextAlign_;
 306    /// <summary>
 307    /// default='center'
 308    /// </summary>
 309    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 310    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 311    public string VTextAlign {
 0312      get { return vTextAlign_ ?? ""; }
 313      set {
 0314        vTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0315      }
 316    }
 317    /// <summary>Gets whether the "v_text_align" field is set</summary>
 318    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 319    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 320    public bool HasVTextAlign {
 0321      get { return vTextAlign_ != null; }
 322    }
 323    /// <summary>Clears the value of the "v_text_align" field</summary>
 324    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 325    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 326    public void ClearVTextAlign() {
 0327      vTextAlign_ = null;
 0328    }
 329
 330    /// <summary>Field number for the "width" field.</summary>
 331    public const int WidthFieldNumber = 9;
 332    private float width_;
 333    /// <summary>
 334    /// default=1
 335    /// </summary>
 336    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 337    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 338    public float Width {
 16339      get { if ((_hasBits0 & 16) != 0) { return width_; } else { return 0F; } }
 340      set {
 4341        _hasBits0 |= 16;
 4342        width_ = value;
 4343      }
 344    }
 345    /// <summary>Gets whether the "width" field is set</summary>
 346    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 347    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 348    public bool HasWidth {
 0349      get { return (_hasBits0 & 16) != 0; }
 350    }
 351    /// <summary>Clears the value of the "width" field</summary>
 352    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 353    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 354    public void ClearWidth() {
 0355      _hasBits0 &= ~16;
 0356    }
 357
 358    /// <summary>Field number for the "height" field.</summary>
 359    public const int HeightFieldNumber = 10;
 360    private float height_;
 361    /// <summary>
 362    /// default=1
 363    /// </summary>
 364    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 365    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 366    public float Height {
 16367      get { if ((_hasBits0 & 32) != 0) { return height_; } else { return 0F; } }
 368      set {
 4369        _hasBits0 |= 32;
 4370        height_ = value;
 4371      }
 372    }
 373    /// <summary>Gets whether the "height" field is set</summary>
 374    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 375    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 376    public bool HasHeight {
 0377      get { return (_hasBits0 & 32) != 0; }
 378    }
 379    /// <summary>Clears the value of the "height" field</summary>
 380    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 381    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 382    public void ClearHeight() {
 0383      _hasBits0 &= ~32;
 0384    }
 385
 386    /// <summary>Field number for the "padding_top" field.</summary>
 387    public const int PaddingTopFieldNumber = 11;
 388    private float paddingTop_;
 389    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 390    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 391    public float PaddingTop {
 106392      get { if ((_hasBits0 & 64) != 0) { return paddingTop_; } else { return 0F; } }
 393      set {
 1394        _hasBits0 |= 64;
 1395        paddingTop_ = value;
 1396      }
 397    }
 398    /// <summary>Gets whether the "padding_top" field is set</summary>
 399    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 400    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 401    public bool HasPaddingTop {
 0402      get { return (_hasBits0 & 64) != 0; }
 403    }
 404    /// <summary>Clears the value of the "padding_top" field</summary>
 405    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 406    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 407    public void ClearPaddingTop() {
 0408      _hasBits0 &= ~64;
 0409    }
 410
 411    /// <summary>Field number for the "padding_right" field.</summary>
 412    public const int PaddingRightFieldNumber = 12;
 413    private float paddingRight_;
 414    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 415    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 416    public float PaddingRight {
 106417      get { if ((_hasBits0 & 128) != 0) { return paddingRight_; } else { return 0F; } }
 418      set {
 1419        _hasBits0 |= 128;
 1420        paddingRight_ = value;
 1421      }
 422    }
 423    /// <summary>Gets whether the "padding_right" field is set</summary>
 424    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 425    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 426    public bool HasPaddingRight {
 0427      get { return (_hasBits0 & 128) != 0; }
 428    }
 429    /// <summary>Clears the value of the "padding_right" field</summary>
 430    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 431    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 432    public void ClearPaddingRight() {
 0433      _hasBits0 &= ~128;
 0434    }
 435
 436    /// <summary>Field number for the "padding_bottom" field.</summary>
 437    public const int PaddingBottomFieldNumber = 13;
 438    private float paddingBottom_;
 439    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 440    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 441    public float PaddingBottom {
 106442      get { if ((_hasBits0 & 256) != 0) { return paddingBottom_; } else { return 0F; } }
 443      set {
 1444        _hasBits0 |= 256;
 1445        paddingBottom_ = value;
 1446      }
 447    }
 448    /// <summary>Gets whether the "padding_bottom" field is set</summary>
 449    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 450    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 451    public bool HasPaddingBottom {
 0452      get { return (_hasBits0 & 256) != 0; }
 453    }
 454    /// <summary>Clears the value of the "padding_bottom" field</summary>
 455    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 456    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 457    public void ClearPaddingBottom() {
 0458      _hasBits0 &= ~256;
 0459    }
 460
 461    /// <summary>Field number for the "padding_left" field.</summary>
 462    public const int PaddingLeftFieldNumber = 14;
 463    private float paddingLeft_;
 464    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 465    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 466    public float PaddingLeft {
 106467      get { if ((_hasBits0 & 512) != 0) { return paddingLeft_; } else { return 0F; } }
 468      set {
 1469        _hasBits0 |= 512;
 1470        paddingLeft_ = value;
 1471      }
 472    }
 473    /// <summary>Gets whether the "padding_left" field is set</summary>
 474    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 475    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 476    public bool HasPaddingLeft {
 0477      get { return (_hasBits0 & 512) != 0; }
 478    }
 479    /// <summary>Clears the value of the "padding_left" field</summary>
 480    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 481    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 482    public void ClearPaddingLeft() {
 0483      _hasBits0 &= ~512;
 0484    }
 485
 486    /// <summary>Field number for the "line_spacing" field.</summary>
 487    public const int LineSpacingFieldNumber = 15;
 488    private float lineSpacing_;
 489    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 490    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 491    public float LineSpacing {
 104492      get { if ((_hasBits0 & 1024) != 0) { return lineSpacing_; } else { return 0F; } }
 493      set {
 1494        _hasBits0 |= 1024;
 1495        lineSpacing_ = value;
 1496      }
 497    }
 498    /// <summary>Gets whether the "line_spacing" field is set</summary>
 499    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 500    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 501    public bool HasLineSpacing {
 0502      get { return (_hasBits0 & 1024) != 0; }
 503    }
 504    /// <summary>Clears the value of the "line_spacing" field</summary>
 505    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 506    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 507    public void ClearLineSpacing() {
 0508      _hasBits0 &= ~1024;
 0509    }
 510
 511    /// <summary>Field number for the "line_count" field.</summary>
 512    public const int LineCountFieldNumber = 16;
 513    private int lineCount_;
 514    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 515    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 516    public int LineCount {
 114517      get { if ((_hasBits0 & 2048) != 0) { return lineCount_; } else { return 0; } }
 518      set {
 3519        _hasBits0 |= 2048;
 3520        lineCount_ = value;
 3521      }
 522    }
 523    /// <summary>Gets whether the "line_count" field is set</summary>
 524    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 525    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 526    public bool HasLineCount {
 0527      get { return (_hasBits0 & 2048) != 0; }
 528    }
 529    /// <summary>Clears the value of the "line_count" field</summary>
 530    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 531    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 532    public void ClearLineCount() {
 0533      _hasBits0 &= ~2048;
 0534    }
 535
 536    /// <summary>Field number for the "text_wrapping" field.</summary>
 537    public const int TextWrappingFieldNumber = 17;
 538    private bool textWrapping_;
 539    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 540    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 541    public bool TextWrapping {
 228542      get { if ((_hasBits0 & 4096) != 0) { return textWrapping_; } else { return false; } }
 543      set {
 5544        _hasBits0 |= 4096;
 5545        textWrapping_ = value;
 5546      }
 547    }
 548    /// <summary>Gets whether the "text_wrapping" field is set</summary>
 549    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 550    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 551    public bool HasTextWrapping {
 0552      get { return (_hasBits0 & 4096) != 0; }
 553    }
 554    /// <summary>Clears the value of the "text_wrapping" field</summary>
 555    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 556    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 557    public void ClearTextWrapping() {
 0558      _hasBits0 &= ~4096;
 0559    }
 560
 561    /// <summary>Field number for the "shadow_blur" field.</summary>
 562    public const int ShadowBlurFieldNumber = 18;
 563    private float shadowBlur_;
 564    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 565    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 566    public float ShadowBlur {
 102567      get { if ((_hasBits0 & 8192) != 0) { return shadowBlur_; } else { return 0F; } }
 568      set {
 0569        _hasBits0 |= 8192;
 0570        shadowBlur_ = value;
 0571      }
 572    }
 573    /// <summary>Gets whether the "shadow_blur" field is set</summary>
 574    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 575    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 576    public bool HasShadowBlur {
 0577      get { return (_hasBits0 & 8192) != 0; }
 578    }
 579    /// <summary>Clears the value of the "shadow_blur" field</summary>
 580    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 581    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 582    public void ClearShadowBlur() {
 0583      _hasBits0 &= ~8192;
 0584    }
 585
 586    /// <summary>Field number for the "shadow_offsetX" field.</summary>
 587    public const int ShadowOffsetXFieldNumber = 19;
 588    private float shadowOffsetX_;
 589    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 590    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 591    public float ShadowOffsetX {
 0592      get { if ((_hasBits0 & 16384) != 0) { return shadowOffsetX_; } else { return 0F; } }
 593      set {
 0594        _hasBits0 |= 16384;
 0595        shadowOffsetX_ = value;
 0596      }
 597    }
 598    /// <summary>Gets whether the "shadow_offsetX" field is set</summary>
 599    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 600    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 601    public bool HasShadowOffsetX {
 0602      get { return (_hasBits0 & 16384) != 0; }
 603    }
 604    /// <summary>Clears the value of the "shadow_offsetX" field</summary>
 605    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 606    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 607    public void ClearShadowOffsetX() {
 0608      _hasBits0 &= ~16384;
 0609    }
 610
 611    /// <summary>Field number for the "shadow_offsetY" field.</summary>
 612    public const int ShadowOffsetYFieldNumber = 20;
 613    private float shadowOffsetY_;
 614    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 615    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 616    public float ShadowOffsetY {
 0617      get { if ((_hasBits0 & 32768) != 0) { return shadowOffsetY_; } else { return 0F; } }
 618      set {
 0619        _hasBits0 |= 32768;
 0620        shadowOffsetY_ = value;
 0621      }
 622    }
 623    /// <summary>Gets whether the "shadow_offsetY" field is set</summary>
 624    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 625    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 626    public bool HasShadowOffsetY {
 0627      get { return (_hasBits0 & 32768) != 0; }
 628    }
 629    /// <summary>Clears the value of the "shadow_offsetY" field</summary>
 630    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 631    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 632    public void ClearShadowOffsetY() {
 0633      _hasBits0 &= ~32768;
 0634    }
 635
 636    /// <summary>Field number for the "outline_width" field.</summary>
 637    public const int OutlineWidthFieldNumber = 21;
 638    private float outlineWidth_;
 639    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 640    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 641    public float OutlineWidth {
 108642      get { if ((_hasBits0 & 65536) != 0) { return outlineWidth_; } else { return 0F; } }
 643      set {
 1644        _hasBits0 |= 65536;
 1645        outlineWidth_ = value;
 1646      }
 647    }
 648    /// <summary>Gets whether the "outline_width" field is set</summary>
 649    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 650    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 651    public bool HasOutlineWidth {
 0652      get { return (_hasBits0 & 65536) != 0; }
 653    }
 654    /// <summary>Clears the value of the "outline_width" field</summary>
 655    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 656    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 657    public void ClearOutlineWidth() {
 0658      _hasBits0 &= ~65536;
 0659    }
 660
 661    /// <summary>Field number for the "shadow_color" field.</summary>
 662    public const int ShadowColorFieldNumber = 22;
 663    private global::Color3 shadowColor_;
 664    /// <summary>
 665    /// default=(1.0,1.0,1.0)
 666    /// </summary>
 667    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 668    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 669    public global::Color3 ShadowColor {
 0670      get { return shadowColor_; }
 671      set {
 0672        shadowColor_ = value;
 0673      }
 674    }
 675
 676    /// <summary>Field number for the "outline_color" field.</summary>
 677    public const int OutlineColorFieldNumber = 23;
 678    private global::Color3 outlineColor_;
 679    /// <summary>
 680    /// default=(1.0,1.0,1.0)
 681    /// </summary>
 682    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 683    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 684    public global::Color3 OutlineColor {
 0685      get { return outlineColor_; }
 686      set {
 0687        outlineColor_ = value;
 0688      }
 689    }
 690
 691    /// <summary>Field number for the "text_color" field.</summary>
 692    public const int TextColorFieldNumber = 24;
 693    private global::Color3 textColor_;
 694    /// <summary>
 695    /// default=(1.0,1.0,1.0)
 696    /// </summary>
 697    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 698    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 699    public global::Color3 TextColor {
 0700      get { return textColor_; }
 701      set {
 0702        textColor_ = value;
 0703      }
 704    }
 705
 706    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 707    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 708    public override bool Equals(object other) {
 111709      return Equals(other as PBTextShape);
 710    }
 711
 712    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 713    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 714    public bool Equals(PBTextShape other) {
 169715      if (ReferenceEquals(other, null)) {
 58716        return false;
 717      }
 111718      if (ReferenceEquals(other, this)) {
 111719        return true;
 720      }
 0721      if (Text != other.Text) return false;
 0722      if (Visible != other.Visible) return false;
 0723      if (Font != other.Font) return false;
 0724      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false;
 0725      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false;
 0726      if (FontAutoSize != other.FontAutoSize) return false;
 0727      if (HTextAlign != other.HTextAlign) return false;
 0728      if (VTextAlign != other.VTextAlign) return false;
 0729      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false;
 0730      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false;
 0731      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal
 0732      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return
 0733      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu
 0734      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f
 0735      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineSpacing, other.LineSpacing)) return f
 0736      if (LineCount != other.LineCount) return false;
 0737      if (TextWrapping != other.TextWrapping) return false;
 0738      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal
 0739      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu
 0740      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu
 0741      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return
 0742      if (!object.Equals(ShadowColor, other.ShadowColor)) return false;
 0743      if (!object.Equals(OutlineColor, other.OutlineColor)) return false;
 0744      if (!object.Equals(TextColor, other.TextColor)) return false;
 0745      return Equals(_unknownFields, other._unknownFields);
 746    }
 747
 748    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 749    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 750    public override int GetHashCode() {
 206751      int hash = 1;
 207752      if (Text.Length != 0) hash ^= Text.GetHashCode();
 206753      if (HasVisible) hash ^= Visible.GetHashCode();
 412754      if (HasFont) hash ^= Font.GetHashCode();
 207755      if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity);
 207756      if (HasFontSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize);
 208757      if (HasFontAutoSize) hash ^= FontAutoSize.GetHashCode();
 210758      if (HasHTextAlign) hash ^= HTextAlign.GetHashCode();
 210759      if (HasVTextAlign) hash ^= VTextAlign.GetHashCode();
 210760      if (HasWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width);
 210761      if (HasHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height);
 207762      if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop);
 207763      if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight
 207764      if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott
 207765      if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft);
 207766      if (HasLineSpacing) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineSpacing);
 207767      if (HasLineCount) hash ^= LineCount.GetHashCode();
 211768      if (HasTextWrapping) hash ^= TextWrapping.GetHashCode();
 206769      if (HasShadowBlur) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur);
 206770      if (HasShadowOffsetX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse
 206771      if (HasShadowOffsetY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse
 207772      if (HasOutlineWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWidth
 206773      if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode();
 207774      if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode();
 208775      if (textColor_ != null) hash ^= TextColor.GetHashCode();
 206776      if (_unknownFields != null) {
 0777        hash ^= _unknownFields.GetHashCode();
 778      }
 206779      return hash;
 780    }
 781
 782    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 783    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 784    public override string ToString() {
 0785      return pb::JsonFormatter.ToDiagnosticString(this);
 786    }
 787
 788    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 789    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 790    public void WriteTo(pb::CodedOutputStream output) {
 791    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 792      output.WriteRawMessage(this);
 793    #else
 2794      if (Text.Length != 0) {
 1795        output.WriteRawTag(10);
 1796        output.WriteString(Text);
 797      }
 2798      if (HasVisible) {
 1799        output.WriteRawTag(16);
 1800        output.WriteBool(Visible);
 801      }
 2802      if (HasFont) {
 2803        output.WriteRawTag(26);
 2804        output.WriteString(Font);
 805      }
 2806      if (HasOpacity) {
 0807        output.WriteRawTag(37);
 0808        output.WriteFloat(Opacity);
 809      }
 2810      if (HasFontSize) {
 1811        output.WriteRawTag(45);
 1812        output.WriteFloat(FontSize);
 813      }
 2814      if (HasFontAutoSize) {
 0815        output.WriteRawTag(48);
 0816        output.WriteBool(FontAutoSize);
 817      }
 2818      if (HasHTextAlign) {
 0819        output.WriteRawTag(58);
 0820        output.WriteString(HTextAlign);
 821      }
 2822      if (HasVTextAlign) {
 0823        output.WriteRawTag(66);
 0824        output.WriteString(VTextAlign);
 825      }
 2826      if (HasWidth) {
 0827        output.WriteRawTag(77);
 0828        output.WriteFloat(Width);
 829      }
 2830      if (HasHeight) {
 0831        output.WriteRawTag(85);
 0832        output.WriteFloat(Height);
 833      }
 2834      if (HasPaddingTop) {
 0835        output.WriteRawTag(93);
 0836        output.WriteFloat(PaddingTop);
 837      }
 2838      if (HasPaddingRight) {
 0839        output.WriteRawTag(101);
 0840        output.WriteFloat(PaddingRight);
 841      }
 2842      if (HasPaddingBottom) {
 0843        output.WriteRawTag(109);
 0844        output.WriteFloat(PaddingBottom);
 845      }
 2846      if (HasPaddingLeft) {
 0847        output.WriteRawTag(117);
 0848        output.WriteFloat(PaddingLeft);
 849      }
 2850      if (HasLineSpacing) {
 0851        output.WriteRawTag(125);
 0852        output.WriteFloat(LineSpacing);
 853      }
 2854      if (HasLineCount) {
 1855        output.WriteRawTag(128, 1);
 1856        output.WriteInt32(LineCount);
 857      }
 2858      if (HasTextWrapping) {
 0859        output.WriteRawTag(136, 1);
 0860        output.WriteBool(TextWrapping);
 861      }
 2862      if (HasShadowBlur) {
 0863        output.WriteRawTag(149, 1);
 0864        output.WriteFloat(ShadowBlur);
 865      }
 2866      if (HasShadowOffsetX) {
 0867        output.WriteRawTag(157, 1);
 0868        output.WriteFloat(ShadowOffsetX);
 869      }
 2870      if (HasShadowOffsetY) {
 0871        output.WriteRawTag(165, 1);
 0872        output.WriteFloat(ShadowOffsetY);
 873      }
 2874      if (HasOutlineWidth) {
 0875        output.WriteRawTag(173, 1);
 0876        output.WriteFloat(OutlineWidth);
 877      }
 2878      if (shadowColor_ != null) {
 0879        output.WriteRawTag(178, 1);
 0880        output.WriteMessage(ShadowColor);
 881      }
 2882      if (outlineColor_ != null) {
 0883        output.WriteRawTag(186, 1);
 0884        output.WriteMessage(OutlineColor);
 885      }
 2886      if (textColor_ != null) {
 1887        output.WriteRawTag(194, 1);
 1888        output.WriteMessage(TextColor);
 889      }
 2890      if (_unknownFields != null) {
 0891        _unknownFields.WriteTo(output);
 892      }
 893    #endif
 2894    }
 895
 896    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 897    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 898    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 899    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 900      if (Text.Length != 0) {
 901        output.WriteRawTag(10);
 902        output.WriteString(Text);
 903      }
 904      if (HasVisible) {
 905        output.WriteRawTag(16);
 906        output.WriteBool(Visible);
 907      }
 908      if (HasFont) {
 909        output.WriteRawTag(26);
 910        output.WriteString(Font);
 911      }
 912      if (HasOpacity) {
 913        output.WriteRawTag(37);
 914        output.WriteFloat(Opacity);
 915      }
 916      if (HasFontSize) {
 917        output.WriteRawTag(45);
 918        output.WriteFloat(FontSize);
 919      }
 920      if (HasFontAutoSize) {
 921        output.WriteRawTag(48);
 922        output.WriteBool(FontAutoSize);
 923      }
 924      if (HasHTextAlign) {
 925        output.WriteRawTag(58);
 926        output.WriteString(HTextAlign);
 927      }
 928      if (HasVTextAlign) {
 929        output.WriteRawTag(66);
 930        output.WriteString(VTextAlign);
 931      }
 932      if (HasWidth) {
 933        output.WriteRawTag(77);
 934        output.WriteFloat(Width);
 935      }
 936      if (HasHeight) {
 937        output.WriteRawTag(85);
 938        output.WriteFloat(Height);
 939      }
 940      if (HasPaddingTop) {
 941        output.WriteRawTag(93);
 942        output.WriteFloat(PaddingTop);
 943      }
 944      if (HasPaddingRight) {
 945        output.WriteRawTag(101);
 946        output.WriteFloat(PaddingRight);
 947      }
 948      if (HasPaddingBottom) {
 949        output.WriteRawTag(109);
 950        output.WriteFloat(PaddingBottom);
 951      }
 952      if (HasPaddingLeft) {
 953        output.WriteRawTag(117);
 954        output.WriteFloat(PaddingLeft);
 955      }
 956      if (HasLineSpacing) {
 957        output.WriteRawTag(125);
 958        output.WriteFloat(LineSpacing);
 959      }
 960      if (HasLineCount) {
 961        output.WriteRawTag(128, 1);
 962        output.WriteInt32(LineCount);
 963      }
 964      if (HasTextWrapping) {
 965        output.WriteRawTag(136, 1);
 966        output.WriteBool(TextWrapping);
 967      }
 968      if (HasShadowBlur) {
 969        output.WriteRawTag(149, 1);
 970        output.WriteFloat(ShadowBlur);
 971      }
 972      if (HasShadowOffsetX) {
 973        output.WriteRawTag(157, 1);
 974        output.WriteFloat(ShadowOffsetX);
 975      }
 976      if (HasShadowOffsetY) {
 977        output.WriteRawTag(165, 1);
 978        output.WriteFloat(ShadowOffsetY);
 979      }
 980      if (HasOutlineWidth) {
 981        output.WriteRawTag(173, 1);
 982        output.WriteFloat(OutlineWidth);
 983      }
 984      if (shadowColor_ != null) {
 985        output.WriteRawTag(178, 1);
 986        output.WriteMessage(ShadowColor);
 987      }
 988      if (outlineColor_ != null) {
 989        output.WriteRawTag(186, 1);
 990        output.WriteMessage(OutlineColor);
 991      }
 992      if (textColor_ != null) {
 993        output.WriteRawTag(194, 1);
 994        output.WriteMessage(TextColor);
 995      }
 996      if (_unknownFields != null) {
 997        _unknownFields.WriteTo(ref output);
 998      }
 999    }
 1000    #endif
 1001
 1002    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1003    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1004    public int CalculateSize() {
 21005      int size = 0;
 21006      if (Text.Length != 0) {
 11007        size += 1 + pb::CodedOutputStream.ComputeStringSize(Text);
 1008      }
 21009      if (HasVisible) {
 11010        size += 1 + 1;
 1011      }
 21012      if (HasFont) {
 21013        size += 1 + pb::CodedOutputStream.ComputeStringSize(Font);
 1014      }
 21015      if (HasOpacity) {
 01016        size += 1 + 4;
 1017      }
 21018      if (HasFontSize) {
 11019        size += 1 + 4;
 1020      }
 21021      if (HasFontAutoSize) {
 01022        size += 1 + 1;
 1023      }
 21024      if (HasHTextAlign) {
 01025        size += 1 + pb::CodedOutputStream.ComputeStringSize(HTextAlign);
 1026      }
 21027      if (HasVTextAlign) {
 01028        size += 1 + pb::CodedOutputStream.ComputeStringSize(VTextAlign);
 1029      }
 21030      if (HasWidth) {
 01031        size += 1 + 4;
 1032      }
 21033      if (HasHeight) {
 01034        size += 1 + 4;
 1035      }
 21036      if (HasPaddingTop) {
 01037        size += 1 + 4;
 1038      }
 21039      if (HasPaddingRight) {
 01040        size += 1 + 4;
 1041      }
 21042      if (HasPaddingBottom) {
 01043        size += 1 + 4;
 1044      }
 21045      if (HasPaddingLeft) {
 01046        size += 1 + 4;
 1047      }
 21048      if (HasLineSpacing) {
 01049        size += 1 + 4;
 1050      }
 21051      if (HasLineCount) {
 11052        size += 2 + pb::CodedOutputStream.ComputeInt32Size(LineCount);
 1053      }
 21054      if (HasTextWrapping) {
 01055        size += 2 + 1;
 1056      }
 21057      if (HasShadowBlur) {
 01058        size += 2 + 4;
 1059      }
 21060      if (HasShadowOffsetX) {
 01061        size += 2 + 4;
 1062      }
 21063      if (HasShadowOffsetY) {
 01064        size += 2 + 4;
 1065      }
 21066      if (HasOutlineWidth) {
 01067        size += 2 + 4;
 1068      }
 21069      if (shadowColor_ != null) {
 01070        size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor);
 1071      }
 21072      if (outlineColor_ != null) {
 01073        size += 2 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor);
 1074      }
 21075      if (textColor_ != null) {
 11076        size += 2 + pb::CodedOutputStream.ComputeMessageSize(TextColor);
 1077      }
 21078      if (_unknownFields != null) {
 01079        size += _unknownFields.CalculateSize();
 1080      }
 21081      return size;
 1082    }
 1083
 1084    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1085    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1086    public void MergeFrom(PBTextShape other) {
 01087      if (other == null) {
 01088        return;
 1089      }
 01090      if (other.Text.Length != 0) {
 01091        Text = other.Text;
 1092      }
 01093      if (other.HasVisible) {
 01094        Visible = other.Visible;
 1095      }
 01096      if (other.HasFont) {
 01097        Font = other.Font;
 1098      }
 01099      if (other.HasOpacity) {
 01100        Opacity = other.Opacity;
 1101      }
 01102      if (other.HasFontSize) {
 01103        FontSize = other.FontSize;
 1104      }
 01105      if (other.HasFontAutoSize) {
 01106        FontAutoSize = other.FontAutoSize;
 1107      }
 01108      if (other.HasHTextAlign) {
 01109        HTextAlign = other.HTextAlign;
 1110      }
 01111      if (other.HasVTextAlign) {
 01112        VTextAlign = other.VTextAlign;
 1113      }
 01114      if (other.HasWidth) {
 01115        Width = other.Width;
 1116      }
 01117      if (other.HasHeight) {
 01118        Height = other.Height;
 1119      }
 01120      if (other.HasPaddingTop) {
 01121        PaddingTop = other.PaddingTop;
 1122      }
 01123      if (other.HasPaddingRight) {
 01124        PaddingRight = other.PaddingRight;
 1125      }
 01126      if (other.HasPaddingBottom) {
 01127        PaddingBottom = other.PaddingBottom;
 1128      }
 01129      if (other.HasPaddingLeft) {
 01130        PaddingLeft = other.PaddingLeft;
 1131      }
 01132      if (other.HasLineSpacing) {
 01133        LineSpacing = other.LineSpacing;
 1134      }
 01135      if (other.HasLineCount) {
 01136        LineCount = other.LineCount;
 1137      }
 01138      if (other.HasTextWrapping) {
 01139        TextWrapping = other.TextWrapping;
 1140      }
 01141      if (other.HasShadowBlur) {
 01142        ShadowBlur = other.ShadowBlur;
 1143      }
 01144      if (other.HasShadowOffsetX) {
 01145        ShadowOffsetX = other.ShadowOffsetX;
 1146      }
 01147      if (other.HasShadowOffsetY) {
 01148        ShadowOffsetY = other.ShadowOffsetY;
 1149      }
 01150      if (other.HasOutlineWidth) {
 01151        OutlineWidth = other.OutlineWidth;
 1152      }
 01153      if (other.shadowColor_ != null) {
 01154        if (shadowColor_ == null) {
 01155          ShadowColor = new global::Color3();
 1156        }
 01157        ShadowColor.MergeFrom(other.ShadowColor);
 1158      }
 01159      if (other.outlineColor_ != null) {
 01160        if (outlineColor_ == null) {
 01161          OutlineColor = new global::Color3();
 1162        }
 01163        OutlineColor.MergeFrom(other.OutlineColor);
 1164      }
 01165      if (other.textColor_ != null) {
 01166        if (textColor_ == null) {
 01167          TextColor = new global::Color3();
 1168        }
 01169        TextColor.MergeFrom(other.TextColor);
 1170      }
 01171      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01172    }
 1173
 1174    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1175    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1176    public void MergeFrom(pb::CodedInputStream input) {
 1177    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1178      input.ReadRawMessage(this);
 1179    #else
 1180      uint tag;
 71181      while ((tag = input.ReadTag()) != 0) {
 1182        switch(tag) {
 1183          default:
 01184            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 01185            break;
 1186          case 10: {
 11187            Text = input.ReadString();
 11188            break;
 1189          }
 1190          case 16: {
 11191            Visible = input.ReadBool();
 11192            break;
 1193          }
 1194          case 26: {
 11195            Font = input.ReadString();
 11196            break;
 1197          }
 1198          case 37: {
 01199            Opacity = input.ReadFloat();
 01200            break;
 1201          }
 1202          case 45: {
 11203            FontSize = input.ReadFloat();
 11204            break;
 1205          }
 1206          case 48: {
 01207            FontAutoSize = input.ReadBool();
 01208            break;
 1209          }
 1210          case 58: {
 01211            HTextAlign = input.ReadString();
 01212            break;
 1213          }
 1214          case 66: {
 01215            VTextAlign = input.ReadString();
 01216            break;
 1217          }
 1218          case 77: {
 01219            Width = input.ReadFloat();
 01220            break;
 1221          }
 1222          case 85: {
 01223            Height = input.ReadFloat();
 01224            break;
 1225          }
 1226          case 93: {
 01227            PaddingTop = input.ReadFloat();
 01228            break;
 1229          }
 1230          case 101: {
 01231            PaddingRight = input.ReadFloat();
 01232            break;
 1233          }
 1234          case 109: {
 01235            PaddingBottom = input.ReadFloat();
 01236            break;
 1237          }
 1238          case 117: {
 01239            PaddingLeft = input.ReadFloat();
 01240            break;
 1241          }
 1242          case 125: {
 01243            LineSpacing = input.ReadFloat();
 01244            break;
 1245          }
 1246          case 128: {
 11247            LineCount = input.ReadInt32();
 11248            break;
 1249          }
 1250          case 136: {
 01251            TextWrapping = input.ReadBool();
 01252            break;
 1253          }
 1254          case 149: {
 01255            ShadowBlur = input.ReadFloat();
 01256            break;
 1257          }
 1258          case 157: {
 01259            ShadowOffsetX = input.ReadFloat();
 01260            break;
 1261          }
 1262          case 165: {
 01263            ShadowOffsetY = input.ReadFloat();
 01264            break;
 1265          }
 1266          case 173: {
 01267            OutlineWidth = input.ReadFloat();
 01268            break;
 1269          }
 1270          case 178: {
 01271            if (shadowColor_ == null) {
 01272              ShadowColor = new global::Color3();
 1273            }
 01274            input.ReadMessage(ShadowColor);
 01275            break;
 1276          }
 1277          case 186: {
 01278            if (outlineColor_ == null) {
 01279              OutlineColor = new global::Color3();
 1280            }
 01281            input.ReadMessage(OutlineColor);
 01282            break;
 1283          }
 1284          case 194: {
 11285            if (textColor_ == null) {
 11286              TextColor = new global::Color3();
 1287            }
 11288            input.ReadMessage(TextColor);
 1289            break;
 1290          }
 1291        }
 1292      }
 1293    #endif
 11294    }
 1295
 1296    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1297    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1298    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1299    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1300      uint tag;
 1301      while ((tag = input.ReadTag()) != 0) {
 1302        switch(tag) {
 1303          default:
 1304            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1305            break;
 1306          case 10: {
 1307            Text = input.ReadString();
 1308            break;
 1309          }
 1310          case 16: {
 1311            Visible = input.ReadBool();
 1312            break;
 1313          }
 1314          case 26: {
 1315            Font = input.ReadString();
 1316            break;
 1317          }
 1318          case 37: {
 1319            Opacity = input.ReadFloat();
 1320            break;
 1321          }
 1322          case 45: {
 1323            FontSize = input.ReadFloat();
 1324            break;
 1325          }
 1326          case 48: {
 1327            FontAutoSize = input.ReadBool();
 1328            break;
 1329          }
 1330          case 58: {
 1331            HTextAlign = input.ReadString();
 1332            break;
 1333          }
 1334          case 66: {
 1335            VTextAlign = input.ReadString();
 1336            break;
 1337          }
 1338          case 77: {
 1339            Width = input.ReadFloat();
 1340            break;
 1341          }
 1342          case 85: {
 1343            Height = input.ReadFloat();
 1344            break;
 1345          }
 1346          case 93: {
 1347            PaddingTop = input.ReadFloat();
 1348            break;
 1349          }
 1350          case 101: {
 1351            PaddingRight = input.ReadFloat();
 1352            break;
 1353          }
 1354          case 109: {
 1355            PaddingBottom = input.ReadFloat();
 1356            break;
 1357          }
 1358          case 117: {
 1359            PaddingLeft = input.ReadFloat();
 1360            break;
 1361          }
 1362          case 125: {
 1363            LineSpacing = input.ReadFloat();
 1364            break;
 1365          }
 1366          case 128: {
 1367            LineCount = input.ReadInt32();
 1368            break;
 1369          }
 1370          case 136: {
 1371            TextWrapping = input.ReadBool();
 1372            break;
 1373          }
 1374          case 149: {
 1375            ShadowBlur = input.ReadFloat();
 1376            break;
 1377          }
 1378          case 157: {
 1379            ShadowOffsetX = input.ReadFloat();
 1380            break;
 1381          }
 1382          case 165: {
 1383            ShadowOffsetY = input.ReadFloat();
 1384            break;
 1385          }
 1386          case 173: {
 1387            OutlineWidth = input.ReadFloat();
 1388            break;
 1389          }
 1390          case 178: {
 1391            if (shadowColor_ == null) {
 1392              ShadowColor = new global::Color3();
 1393            }
 1394            input.ReadMessage(ShadowColor);
 1395            break;
 1396          }
 1397          case 186: {
 1398            if (outlineColor_ == null) {
 1399              OutlineColor = new global::Color3();
 1400            }
 1401            input.ReadMessage(OutlineColor);
 1402            break;
 1403          }
 1404          case 194: {
 1405            if (textColor_ == null) {
 1406              TextColor = new global::Color3();
 1407            }
 1408            input.ReadMessage(TextColor);
 1409            break;
 1410          }
 1411        }
 1412      }
 1413    }
 1414    #endif
 1415
 1416  }
 1417
 1418  #endregion
 1419
 1420}
 1421
 1422#endregion Designer generated code

Methods/Properties

PBTextShape()
Parser()
Descriptor()
get_Descriptor()
PBTextShape()
PBTextShape(DCL.ECSComponents.PBTextShape)
Clone()
Text()
Text(System.String)
Visible()
Visible(System.Boolean)
HasVisible()
ClearVisible()
Font()
Font(System.String)
HasFont()
ClearFont()
Opacity()
Opacity(System.Single)
HasOpacity()
ClearOpacity()
FontSize()
FontSize(System.Single)
HasFontSize()
ClearFontSize()
FontAutoSize()
FontAutoSize(System.Boolean)
HasFontAutoSize()
ClearFontAutoSize()
HTextAlign()
HTextAlign(System.String)
HasHTextAlign()
ClearHTextAlign()
VTextAlign()
VTextAlign(System.String)
HasVTextAlign()
ClearVTextAlign()
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(Color3)
OutlineColor()
OutlineColor(Color3)
TextColor()
TextColor(Color3)
Equals(System.Object)
Equals(DCL.ECSComponents.PBTextShape)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBTextShape)
MergeFrom(Google.Protobuf.CodedInputStream)