Example #1
0
 public wColor(wColor WindColor)
 {
     A = WindColor.A;
     R = WindColor.R;
     G = WindColor.G;
     B = WindColor.B;
 }
Example #2
0
 public wColor(wColor StartColor, int Alpha)
 {
     A = Alpha;
     R = StartColor.R;
     G = StartColor.G;
     B = StartColor.B;
 }
Example #3
0
        public wFont(string FontName, double FontSize, wColor color)
        {
            Name = FontName;
            Size = FontSize;

            FontColor = color;
        }
Example #4
0
        public wFont(string FontTitle, string FontName, double FontSize, wColor color)
        {
            Title = FontTitle;
            Name  = FontName;
            Size  = FontSize;

            FontColor = color;
        }
Example #5
0
        public wFontDrawing(string FontName, double FontSize, wColor color)
        {
            Name = FontName;
            Size = FontSize;

            FontColor = color;

            UpdateFont();
        }
Example #6
0
        public wFontMedia(string FontName, double FontSize, wColor color)
        {
            Name   = FontName;
            Family = new FontFamily(FontName);
            Size   = FontSize;

            FontColor = color;
            updateStyle();
        }
Example #7
0
        public wFont(string FontName, double FontSize, wColor color, bool isBold)
        {
            Name = FontName;
            Size = FontSize;

            FontColor = color;

            IsBold = isBold;
            SetJustification();
        }
Example #8
0
        public wFont(string FontName, double FontSize, wColor color, Justification FontJustification)
        {
            Name = FontName;
            Size = FontSize;

            FontColor = color;

            Justify = FontJustification;
            SetJustification();
        }
Example #9
0
        public wFontDrawing(string FontName, double FontSize, wColor color, Justification FontJustification)
        {
            Name = FontName;
            Size = FontSize;

            FontColor = color;
            Justify   = FontJustification;

            HAlign = textHjust((int)Justify);
            VAlign = textVjust((int)Justify);

            UpdateFont();
        }
Example #10
0
        public wFontMedia(string FontName, double FontSize, wColor color, Justification FontJustification)
        {
            Name   = FontName;
            Family = new FontFamily(FontName);
            Size   = FontSize;

            FontColor = color;
            Justify   = FontJustification;

            HAlign = MediaHjust((int)Justify);
            VAlign = MediaVJust((int)Justify);
            updateStyle();
        }
Example #11
0
        public wFont(string FontName, double FontSize, wColor color, Justification FontJustification, bool isBold, bool isItalic, bool isUnderlined, bool isStrikethrough)
        {
            Name = FontName;
            Size = FontSize;

            FontColor = color;

            Justify = FontJustification;
            SetJustification();

            IsBold          = isBold;
            IsItalic        = isItalic;
            IsUnderlined    = isUnderlined;
            IsStrikethrough = isStrikethrough;
        }
Example #12
0
        public wFontDrawing(string FontName, double FontSize, wColor color, Justification FontJustification, bool isBold, bool isItalic, bool isUnderlined, bool isStrikethrough)
        {
            Name = FontName;
            Size = FontSize;

            FontColor = color;
            Justify   = FontJustification;

            IsBold          = isBold;
            IsItalic        = isItalic;
            IsUnderlined    = isUnderlined;
            IsStrikethrough = isStrikethrough;

            HAlign = textHjust((int)Justify);
            VAlign = textVjust((int)Justify);

            UpdateFont();
        }
Example #13
0
        public wFontMedia(string FontName, double FontSize, wColor color, Justification FontJustification, bool isBold, bool isItalic, bool isUnderlined, bool isStrikethrough)
        {
            Name   = FontName;
            Family = new FontFamily(FontName);
            Size   = FontSize;

            FontColor = color;
            Justify   = FontJustification;

            IsBold          = isBold;
            IsItalic        = isItalic;
            IsUnderlined    = isUnderlined;
            IsStrikethrough = isStrikethrough;

            HAlign = MediaHjust((int)Justify);
            VAlign = MediaVJust((int)Justify);
            updateStyle();
        }