< Summary

Class:DCL.ECSComponents.TextShapeReflection
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/PBFiles/TextShape.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:1422
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
TextShapeReflection()0%2100%

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 {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static TextShapeReflection() {
 025      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="));
 052      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          }));
 057    }
 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  {
 67    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)]
 72    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 {
 77      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 {
 83      get { return Descriptor; }
 84    }
 85
 86    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 87    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 88    public PBTextShape() {
 89      OnConstruction();
 90    }
 91
 92    partial void OnConstruction();
 93
 94    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 95    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 96    public PBTextShape(PBTextShape other) : this() {
 97      _hasBits0 = other._hasBits0;
 98      text_ = other.text_;
 99      visible_ = other.visible_;
 100      font_ = other.font_;
 101      opacity_ = other.opacity_;
 102      fontSize_ = other.fontSize_;
 103      fontAutoSize_ = other.fontAutoSize_;
 104      hTextAlign_ = other.hTextAlign_;
 105      vTextAlign_ = other.vTextAlign_;
 106      width_ = other.width_;
 107      height_ = other.height_;
 108      paddingTop_ = other.paddingTop_;
 109      paddingRight_ = other.paddingRight_;
 110      paddingBottom_ = other.paddingBottom_;
 111      paddingLeft_ = other.paddingLeft_;
 112      lineSpacing_ = other.lineSpacing_;
 113      lineCount_ = other.lineCount_;
 114      textWrapping_ = other.textWrapping_;
 115      shadowBlur_ = other.shadowBlur_;
 116      shadowOffsetX_ = other.shadowOffsetX_;
 117      shadowOffsetY_ = other.shadowOffsetY_;
 118      outlineWidth_ = other.outlineWidth_;
 119      shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null;
 120      outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null;
 121      textColor_ = other.textColor_ != null ? other.textColor_.Clone() : null;
 122      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 123    }
 124
 125    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 126    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 127    public PBTextShape Clone() {
 128      return new PBTextShape(this);
 129    }
 130
 131    /// <summary>Field number for the "text" field.</summary>
 132    public const int TextFieldNumber = 1;
 133    private string text_ = "";
 134    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 135    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 136    public string Text {
 137      get { return text_; }
 138      set {
 139        text_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 140      }
 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 {
 152      get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } }
 153      set {
 154        _hasBits0 |= 1;
 155        visible_ = value;
 156      }
 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 {
 162      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() {
 168      _hasBits0 &= ~1;
 169    }
 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 {
 177      get { return font_ ?? ""; }
 178      set {
 179        font_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 180      }
 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 {
 186      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() {
 192      font_ = null;
 193    }
 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 {
 204      get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } }
 205      set {
 206        _hasBits0 |= 2;
 207        opacity_ = value;
 208      }
 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 {
 214      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() {
 220      _hasBits0 &= ~2;
 221    }
 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 {
 232      get { if ((_hasBits0 & 4) != 0) { return fontSize_; } else { return 0F; } }
 233      set {
 234        _hasBits0 |= 4;
 235        fontSize_ = value;
 236      }
 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 {
 242      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() {
 248      _hasBits0 &= ~4;
 249    }
 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 {
 257      get { if ((_hasBits0 & 8) != 0) { return fontAutoSize_; } else { return false; } }
 258      set {
 259        _hasBits0 |= 8;
 260        fontAutoSize_ = value;
 261      }
 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 {
 267      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() {
 273      _hasBits0 &= ~8;
 274    }
 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 {
 285      get { return hTextAlign_ ?? ""; }
 286      set {
 287        hTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 288      }
 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 {
 294      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() {
 300      hTextAlign_ = null;
 301    }
 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 {
 312      get { return vTextAlign_ ?? ""; }
 313      set {
 314        vTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 315      }
 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 {
 321      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() {
 327      vTextAlign_ = null;
 328    }
 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 {
 339      get { if ((_hasBits0 & 16) != 0) { return width_; } else { return 0F; } }
 340      set {
 341        _hasBits0 |= 16;
 342        width_ = value;
 343      }
 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 {
 349      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() {
 355      _hasBits0 &= ~16;
 356    }
 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 {
 367      get { if ((_hasBits0 & 32) != 0) { return height_; } else { return 0F; } }
 368      set {
 369        _hasBits0 |= 32;
 370        height_ = value;
 371      }
 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 {
 377      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() {
 383      _hasBits0 &= ~32;
 384    }
 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 {
 392      get { if ((_hasBits0 & 64) != 0) { return paddingTop_; } else { return 0F; } }
 393      set {
 394        _hasBits0 |= 64;
 395        paddingTop_ = value;
 396      }
 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 {
 402      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() {
 408      _hasBits0 &= ~64;
 409    }
 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 {
 417      get { if ((_hasBits0 & 128) != 0) { return paddingRight_; } else { return 0F; } }
 418      set {
 419        _hasBits0 |= 128;
 420        paddingRight_ = value;
 421      }
 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 {
 427      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() {
 433      _hasBits0 &= ~128;
 434    }
 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 {
 442      get { if ((_hasBits0 & 256) != 0) { return paddingBottom_; } else { return 0F; } }
 443      set {
 444        _hasBits0 |= 256;
 445        paddingBottom_ = value;
 446      }
 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 {
 452      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() {
 458      _hasBits0 &= ~256;
 459    }
 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 {
 467      get { if ((_hasBits0 & 512) != 0) { return paddingLeft_; } else { return 0F; } }
 468      set {
 469        _hasBits0 |= 512;
 470        paddingLeft_ = value;
 471      }
 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 {
 477      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() {
 483      _hasBits0 &= ~512;
 484    }
 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 {
 492      get { if ((_hasBits0 & 1024) != 0) { return lineSpacing_; } else { return 0F; } }
 493      set {
 494        _hasBits0 |= 1024;
 495        lineSpacing_ = value;
 496      }
 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 {
 502      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() {
 508      _hasBits0 &= ~1024;
 509    }
 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 {
 517      get { if ((_hasBits0 & 2048) != 0) { return lineCount_; } else { return 0; } }
 518      set {
 519        _hasBits0 |= 2048;
 520        lineCount_ = value;
 521      }
 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 {
 527      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() {
 533      _hasBits0 &= ~2048;
 534    }
 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 {
 542      get { if ((_hasBits0 & 4096) != 0) { return textWrapping_; } else { return false; } }
 543      set {
 544        _hasBits0 |= 4096;
 545        textWrapping_ = value;
 546      }
 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 {
 552      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() {
 558      _hasBits0 &= ~4096;
 559    }
 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 {
 567      get { if ((_hasBits0 & 8192) != 0) { return shadowBlur_; } else { return 0F; } }
 568      set {
 569        _hasBits0 |= 8192;
 570        shadowBlur_ = value;
 571      }
 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 {
 577      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() {
 583      _hasBits0 &= ~8192;
 584    }
 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 {
 592      get { if ((_hasBits0 & 16384) != 0) { return shadowOffsetX_; } else { return 0F; } }
 593      set {
 594        _hasBits0 |= 16384;
 595        shadowOffsetX_ = value;
 596      }
 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 {
 602      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() {
 608      _hasBits0 &= ~16384;
 609    }
 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 {
 617      get { if ((_hasBits0 & 32768) != 0) { return shadowOffsetY_; } else { return 0F; } }
 618      set {
 619        _hasBits0 |= 32768;
 620        shadowOffsetY_ = value;
 621      }
 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 {
 627      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() {
 633      _hasBits0 &= ~32768;
 634    }
 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 {
 642      get { if ((_hasBits0 & 65536) != 0) { return outlineWidth_; } else { return 0F; } }
 643      set {
 644        _hasBits0 |= 65536;
 645        outlineWidth_ = value;
 646      }
 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 {
 652      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() {
 658      _hasBits0 &= ~65536;
 659    }
 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 {
 670      get { return shadowColor_; }
 671      set {
 672        shadowColor_ = value;
 673      }
 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 {
 685      get { return outlineColor_; }
 686      set {
 687        outlineColor_ = value;
 688      }
 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 {
 700      get { return textColor_; }
 701      set {
 702        textColor_ = value;
 703      }
 704    }
 705
 706    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 707    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 708    public override bool Equals(object other) {
 709      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) {
 715      if (ReferenceEquals(other, null)) {
 716        return false;
 717      }
 718      if (ReferenceEquals(other, this)) {
 719        return true;
 720      }
 721      if (Text != other.Text) return false;
 722      if (Visible != other.Visible) return false;
 723      if (Font != other.Font) return false;
 724      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false;
 725      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false;
 726      if (FontAutoSize != other.FontAutoSize) return false;
 727      if (HTextAlign != other.HTextAlign) return false;
 728      if (VTextAlign != other.VTextAlign) return false;
 729      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false;
 730      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false;
 731      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal
 732      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return
 733      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu
 734      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f
 735      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineSpacing, other.LineSpacing)) return f
 736      if (LineCount != other.LineCount) return false;
 737      if (TextWrapping != other.TextWrapping) return false;
 738      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal
 739      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu
 740      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu
 741      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return
 742      if (!object.Equals(ShadowColor, other.ShadowColor)) return false;
 743      if (!object.Equals(OutlineColor, other.OutlineColor)) return false;
 744      if (!object.Equals(TextColor, other.TextColor)) return false;
 745      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() {
 751      int hash = 1;
 752      if (Text.Length != 0) hash ^= Text.GetHashCode();
 753      if (HasVisible) hash ^= Visible.GetHashCode();
 754      if (HasFont) hash ^= Font.GetHashCode();
 755      if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity);
 756      if (HasFontSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize);
 757      if (HasFontAutoSize) hash ^= FontAutoSize.GetHashCode();
 758      if (HasHTextAlign) hash ^= HTextAlign.GetHashCode();
 759      if (HasVTextAlign) hash ^= VTextAlign.GetHashCode();
 760      if (HasWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width);
 761      if (HasHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height);
 762      if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop);
 763      if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight
 764      if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott
 765      if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft);
 766      if (HasLineSpacing) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineSpacing);
 767      if (HasLineCount) hash ^= LineCount.GetHashCode();
 768      if (HasTextWrapping) hash ^= TextWrapping.GetHashCode();
 769      if (HasShadowBlur) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur);
 770      if (HasShadowOffsetX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse
 771      if (HasShadowOffsetY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse
 772      if (HasOutlineWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWidth
 773      if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode();
 774      if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode();
 775      if (textColor_ != null) hash ^= TextColor.GetHashCode();
 776      if (_unknownFields != null) {
 777        hash ^= _unknownFields.GetHashCode();
 778      }
 779      return hash;
 780    }
 781
 782    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 783    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 784    public override string ToString() {
 785      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
 794      if (Text.Length != 0) {
 795        output.WriteRawTag(10);
 796        output.WriteString(Text);
 797      }
 798      if (HasVisible) {
 799        output.WriteRawTag(16);
 800        output.WriteBool(Visible);
 801      }
 802      if (HasFont) {
 803        output.WriteRawTag(26);
 804        output.WriteString(Font);
 805      }
 806      if (HasOpacity) {
 807        output.WriteRawTag(37);
 808        output.WriteFloat(Opacity);
 809      }
 810      if (HasFontSize) {
 811        output.WriteRawTag(45);
 812        output.WriteFloat(FontSize);
 813      }
 814      if (HasFontAutoSize) {
 815        output.WriteRawTag(48);
 816        output.WriteBool(FontAutoSize);
 817      }
 818      if (HasHTextAlign) {
 819        output.WriteRawTag(58);
 820        output.WriteString(HTextAlign);
 821      }
 822      if (HasVTextAlign) {
 823        output.WriteRawTag(66);
 824        output.WriteString(VTextAlign);
 825      }
 826      if (HasWidth) {
 827        output.WriteRawTag(77);
 828        output.WriteFloat(Width);
 829      }
 830      if (HasHeight) {
 831        output.WriteRawTag(85);
 832        output.WriteFloat(Height);
 833      }
 834      if (HasPaddingTop) {
 835        output.WriteRawTag(93);
 836        output.WriteFloat(PaddingTop);
 837      }
 838      if (HasPaddingRight) {
 839        output.WriteRawTag(101);
 840        output.WriteFloat(PaddingRight);
 841      }
 842      if (HasPaddingBottom) {
 843        output.WriteRawTag(109);
 844        output.WriteFloat(PaddingBottom);
 845      }
 846      if (HasPaddingLeft) {
 847        output.WriteRawTag(117);
 848        output.WriteFloat(PaddingLeft);
 849      }
 850      if (HasLineSpacing) {
 851        output.WriteRawTag(125);
 852        output.WriteFloat(LineSpacing);
 853      }
 854      if (HasLineCount) {
 855        output.WriteRawTag(128, 1);
 856        output.WriteInt32(LineCount);
 857      }
 858      if (HasTextWrapping) {
 859        output.WriteRawTag(136, 1);
 860        output.WriteBool(TextWrapping);
 861      }
 862      if (HasShadowBlur) {
 863        output.WriteRawTag(149, 1);
 864        output.WriteFloat(ShadowBlur);
 865      }
 866      if (HasShadowOffsetX) {
 867        output.WriteRawTag(157, 1);
 868        output.WriteFloat(ShadowOffsetX);
 869      }
 870      if (HasShadowOffsetY) {
 871        output.WriteRawTag(165, 1);
 872        output.WriteFloat(ShadowOffsetY);
 873      }
 874      if (HasOutlineWidth) {
 875        output.WriteRawTag(173, 1);
 876        output.WriteFloat(OutlineWidth);
 877      }
 878      if (shadowColor_ != null) {
 879        output.WriteRawTag(178, 1);
 880        output.WriteMessage(ShadowColor);
 881      }
 882      if (outlineColor_ != null) {
 883        output.WriteRawTag(186, 1);
 884        output.WriteMessage(OutlineColor);
 885      }
 886      if (textColor_ != null) {
 887        output.WriteRawTag(194, 1);
 888        output.WriteMessage(TextColor);
 889      }
 890      if (_unknownFields != null) {
 891        _unknownFields.WriteTo(output);
 892      }
 893    #endif
 894    }
 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() {
 1005      int size = 0;
 1006      if (Text.Length != 0) {
 1007        size += 1 + pb::CodedOutputStream.ComputeStringSize(Text);
 1008      }
 1009      if (HasVisible) {
 1010        size += 1 + 1;
 1011      }
 1012      if (HasFont) {
 1013        size += 1 + pb::CodedOutputStream.ComputeStringSize(Font);
 1014      }
 1015      if (HasOpacity) {
 1016        size += 1 + 4;
 1017      }
 1018      if (HasFontSize) {
 1019        size += 1 + 4;
 1020      }
 1021      if (HasFontAutoSize) {
 1022        size += 1 + 1;
 1023      }
 1024      if (HasHTextAlign) {
 1025        size += 1 + pb::CodedOutputStream.ComputeStringSize(HTextAlign);
 1026      }
 1027      if (HasVTextAlign) {
 1028        size += 1 + pb::CodedOutputStream.ComputeStringSize(VTextAlign);
 1029      }
 1030      if (HasWidth) {
 1031        size += 1 + 4;
 1032      }
 1033      if (HasHeight) {
 1034        size += 1 + 4;
 1035      }
 1036      if (HasPaddingTop) {
 1037        size += 1 + 4;
 1038      }
 1039      if (HasPaddingRight) {
 1040        size += 1 + 4;
 1041      }
 1042      if (HasPaddingBottom) {
 1043        size += 1 + 4;
 1044      }
 1045      if (HasPaddingLeft) {
 1046        size += 1 + 4;
 1047      }
 1048      if (HasLineSpacing) {
 1049        size += 1 + 4;
 1050      }
 1051      if (HasLineCount) {
 1052        size += 2 + pb::CodedOutputStream.ComputeInt32Size(LineCount);
 1053      }
 1054      if (HasTextWrapping) {
 1055        size += 2 + 1;
 1056      }
 1057      if (HasShadowBlur) {
 1058        size += 2 + 4;
 1059      }
 1060      if (HasShadowOffsetX) {
 1061        size += 2 + 4;
 1062      }
 1063      if (HasShadowOffsetY) {
 1064        size += 2 + 4;
 1065      }
 1066      if (HasOutlineWidth) {
 1067        size += 2 + 4;
 1068      }
 1069      if (shadowColor_ != null) {
 1070        size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor);
 1071      }
 1072      if (outlineColor_ != null) {
 1073        size += 2 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor);
 1074      }
 1075      if (textColor_ != null) {
 1076        size += 2 + pb::CodedOutputStream.ComputeMessageSize(TextColor);
 1077      }
 1078      if (_unknownFields != null) {
 1079        size += _unknownFields.CalculateSize();
 1080      }
 1081      return size;
 1082    }
 1083
 1084    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1085    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1086    public void MergeFrom(PBTextShape other) {
 1087      if (other == null) {
 1088        return;
 1089      }
 1090      if (other.Text.Length != 0) {
 1091        Text = other.Text;
 1092      }
 1093      if (other.HasVisible) {
 1094        Visible = other.Visible;
 1095      }
 1096      if (other.HasFont) {
 1097        Font = other.Font;
 1098      }
 1099      if (other.HasOpacity) {
 1100        Opacity = other.Opacity;
 1101      }
 1102      if (other.HasFontSize) {
 1103        FontSize = other.FontSize;
 1104      }
 1105      if (other.HasFontAutoSize) {
 1106        FontAutoSize = other.FontAutoSize;
 1107      }
 1108      if (other.HasHTextAlign) {
 1109        HTextAlign = other.HTextAlign;
 1110      }
 1111      if (other.HasVTextAlign) {
 1112        VTextAlign = other.VTextAlign;
 1113      }
 1114      if (other.HasWidth) {
 1115        Width = other.Width;
 1116      }
 1117      if (other.HasHeight) {
 1118        Height = other.Height;
 1119      }
 1120      if (other.HasPaddingTop) {
 1121        PaddingTop = other.PaddingTop;
 1122      }
 1123      if (other.HasPaddingRight) {
 1124        PaddingRight = other.PaddingRight;
 1125      }
 1126      if (other.HasPaddingBottom) {
 1127        PaddingBottom = other.PaddingBottom;
 1128      }
 1129      if (other.HasPaddingLeft) {
 1130        PaddingLeft = other.PaddingLeft;
 1131      }
 1132      if (other.HasLineSpacing) {
 1133        LineSpacing = other.LineSpacing;
 1134      }
 1135      if (other.HasLineCount) {
 1136        LineCount = other.LineCount;
 1137      }
 1138      if (other.HasTextWrapping) {
 1139        TextWrapping = other.TextWrapping;
 1140      }
 1141      if (other.HasShadowBlur) {
 1142        ShadowBlur = other.ShadowBlur;
 1143      }
 1144      if (other.HasShadowOffsetX) {
 1145        ShadowOffsetX = other.ShadowOffsetX;
 1146      }
 1147      if (other.HasShadowOffsetY) {
 1148        ShadowOffsetY = other.ShadowOffsetY;
 1149      }
 1150      if (other.HasOutlineWidth) {
 1151        OutlineWidth = other.OutlineWidth;
 1152      }
 1153      if (other.shadowColor_ != null) {
 1154        if (shadowColor_ == null) {
 1155          ShadowColor = new global::Color3();
 1156        }
 1157        ShadowColor.MergeFrom(other.ShadowColor);
 1158      }
 1159      if (other.outlineColor_ != null) {
 1160        if (outlineColor_ == null) {
 1161          OutlineColor = new global::Color3();
 1162        }
 1163        OutlineColor.MergeFrom(other.OutlineColor);
 1164      }
 1165      if (other.textColor_ != null) {
 1166        if (textColor_ == null) {
 1167          TextColor = new global::Color3();
 1168        }
 1169        TextColor.MergeFrom(other.TextColor);
 1170      }
 1171      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1172    }
 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;
 1181      while ((tag = input.ReadTag()) != 0) {
 1182        switch(tag) {
 1183          default:
 1184            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1185            break;
 1186          case 10: {
 1187            Text = input.ReadString();
 1188            break;
 1189          }
 1190          case 16: {
 1191            Visible = input.ReadBool();
 1192            break;
 1193          }
 1194          case 26: {
 1195            Font = input.ReadString();
 1196            break;
 1197          }
 1198          case 37: {
 1199            Opacity = input.ReadFloat();
 1200            break;
 1201          }
 1202          case 45: {
 1203            FontSize = input.ReadFloat();
 1204            break;
 1205          }
 1206          case 48: {
 1207            FontAutoSize = input.ReadBool();
 1208            break;
 1209          }
 1210          case 58: {
 1211            HTextAlign = input.ReadString();
 1212            break;
 1213          }
 1214          case 66: {
 1215            VTextAlign = input.ReadString();
 1216            break;
 1217          }
 1218          case 77: {
 1219            Width = input.ReadFloat();
 1220            break;
 1221          }
 1222          case 85: {
 1223            Height = input.ReadFloat();
 1224            break;
 1225          }
 1226          case 93: {
 1227            PaddingTop = input.ReadFloat();
 1228            break;
 1229          }
 1230          case 101: {
 1231            PaddingRight = input.ReadFloat();
 1232            break;
 1233          }
 1234          case 109: {
 1235            PaddingBottom = input.ReadFloat();
 1236            break;
 1237          }
 1238          case 117: {
 1239            PaddingLeft = input.ReadFloat();
 1240            break;
 1241          }
 1242          case 125: {
 1243            LineSpacing = input.ReadFloat();
 1244            break;
 1245          }
 1246          case 128: {
 1247            LineCount = input.ReadInt32();
 1248            break;
 1249          }
 1250          case 136: {
 1251            TextWrapping = input.ReadBool();
 1252            break;
 1253          }
 1254          case 149: {
 1255            ShadowBlur = input.ReadFloat();
 1256            break;
 1257          }
 1258          case 157: {
 1259            ShadowOffsetX = input.ReadFloat();
 1260            break;
 1261          }
 1262          case 165: {
 1263            ShadowOffsetY = input.ReadFloat();
 1264            break;
 1265          }
 1266          case 173: {
 1267            OutlineWidth = input.ReadFloat();
 1268            break;
 1269          }
 1270          case 178: {
 1271            if (shadowColor_ == null) {
 1272              ShadowColor = new global::Color3();
 1273            }
 1274            input.ReadMessage(ShadowColor);
 1275            break;
 1276          }
 1277          case 186: {
 1278            if (outlineColor_ == null) {
 1279              OutlineColor = new global::Color3();
 1280            }
 1281            input.ReadMessage(OutlineColor);
 1282            break;
 1283          }
 1284          case 194: {
 1285            if (textColor_ == null) {
 1286              TextColor = new global::Color3();
 1287            }
 1288            input.ReadMessage(TextColor);
 1289            break;
 1290          }
 1291        }
 1292      }
 1293    #endif
 1294    }
 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

Descriptor()
TextShapeReflection()