예제 #1
0
        public override string ToString()
        {
            if (!IsValid)
            {
                return($"Invalid {TypeName}");
            }

            if (Value.HasTexture)
            {
                return($"{Value.TextureValue}");
            }
            else
            {
                return(GH_Format.FormatColour((System.Drawing.Color)Value.ToColorRGBA()));
            }
        }
 public override string ToString()
 {
     return(GH_Format.FormatColour((System.Drawing.Color)Value));
 }