Beispiel #1
0
 public override void DrawOutline()
 {
     SplashKit.DrawCircle(
         clr: Color.Black,
         x: X,
         y: Y,
         radius: _radius + 2);
 }
Beispiel #2
0
 public override void DrawOutline()
 {
     SplashKit.DrawCircle(
         clr: Color.Red,
         x: X,
         y: Y,
         radius: 5
         );
     SplashKit.DrawCircle(
         clr: Color.Red,
         x: (X + _length),
         y: Y,
         radius: 5
         );
 }
Beispiel #3
0
    public override void Draw()
    {
        double leftX, midX, rightX;
        double midY, eyeY, mouthY;

        leftX  = _x + 17;
        midX   = _x + 25;
        rightX = _x + 33;
        midY   = _y + 25;
        eyeY   = _y + 20;
        mouthY = _y + 35;
        SplashKit.FillCircle(Color.White, midX, midY, 25);
        SplashKit.DrawCircle(Color.Gray, midX, midY, 25);
        SplashKit.FillCircle(_mainColour, leftX, eyeY, 5);
        SplashKit.FillCircle(_mainColour, rightX, eyeY, 5);
        SplashKit.FillEllipse(Color.Gray, _x, eyeY, 50, 30);
        SplashKit.DrawLine(Color.Black, _x, mouthY, _x + 50, _y + 35);
    }
Beispiel #4
0
    public override void Draw()
    {
        double leftX, midX, rightX;
        double midY, eyeY, mouthY;

        leftX  = X + 17;
        midX   = X + 25;
        rightX = X + 33;
        midY   = Y + 25;
        eyeY   = Y + 20;
        mouthY = Y + 35;
        SplashKit.FillCircle(Color.White, midX, midY, 25);
        SplashKit.DrawCircle(Color.Gray, midX, midY, 25);
        // SplashKit.FillCircle(MainColor, leftX, eyeY, 5);
        // SplashKit.FillCircle(MainColor, rightX, eyeY, 5);
        SplashKit.FillEllipse(Color.Gray, X, eyeY, 50, 30);
        SplashKit.DrawLine(Color.Black, X, mouthY, X + 50, Y + 35);
    }