示例#1
0
        protected override void Draw(MyCanvas TargetCanvas, int currIteration)
        {
            if (Font == null)
            {
                Font = TargetCanvas.GetDefaultFont();
            }

            TargetCanvas.DrawColorText(
                GetAbsoluteX() + padding, GetAbsoluteY() + padding,
                text,
                invertColors,
                transparentBackground
                );
        }