Exemple #1
0
 public TextFormatting(Font font, Color color, TextOutline outline, TextShadow shadow)
 {
     Font    = font;
     Color   = color;
     Outline = outline;
     Shadow  = shadow;
 }
Exemple #2
0
 protected bool Equals(TextShadow other)
 {
     return(Distance == other.Distance && Size == other.Size && Direction == other.Direction &&
            Color.Equals(other.Color));
 }