Ejemplo n.º 1
0
        protected override void attachTransform(TextBlock tb, EventHandler handler, double y)
        {
            var x = (canvas.Width - tb.ActualWidth) / 2;

            DanmakuLib.attachStaticTransform(tb, handler, new Point(x, y), DanmakuConfig.DANMAKU_TTL / 2);
        }