コード例 #1
0
 public LB_Tools_Text()
 {
     TextFont          = new Font("Arial", 8, FontStyle.Regular);
     Text              = "str";
     FontColor         = Color.Red;
     BackColor         = Color.Black;
     stbc              = new StringToBitmapConverter();
     textRenderingHint = TextRenderingHint.SingleBitPerPixelGridFit;
 }
コード例 #2
0
 public LB_Tools_Clock()
 {
     TextFont  = new Font("Tahoma", 7, FontStyle.Regular);
     Text      = "clock";
     FontColor = Color.Red;
     BackColor = Color.Black;
     ClockSize = new Size(24, 8);
     stbc      = new StringToBitmapConverter();
     stbc._InterpolationMode = InterpolationMode.Default;
     stbc._SmoothingMode     = SmoothingMode.None;
     stbc._TextRenderingHint = TextRenderingHint.SingleBitPerPixelGridFit;
     FontColorARGB           = FontColor.ToArgb();
     BackColorARGB           = BackColor.ToArgb();
 }
コード例 #3
0
 public LB_Tools_RunningText()
 {
     TextFont             = new Font("Tahoma", 8, FontStyle.Regular);
     Text                 = "str";
     FontColor            = Color.Red;
     BackColor            = Color.Black;
     stbc                 = new StringToBitmapConverter();
     textRenderingHint    = TextRenderingHint.SingleBitPerPixelGridFit;
     TextArea.Size        = new Size(24, 8);
     ActiveFrame.Location = new Point(0, 0);
     ActiveFrameX         = 0.0;
     ActiveFrame.X        = 0;
     ActiveFrame.Y        = 0;
     ActiveFrame.Size     = new Size(24, 8);
     bitmap               = new Bitmap(1, 8);
 }