• 2022-06-06 问题

    绘制一个实心圆,下列代码正确的是 A: Graphics g=CreateGraphics();Pen myPen=new Pen(Color.Blue);g.DrawEllipse(myPen, new Rectangle(50, 50, 100, 100)); B: Graphics g=CreateGraphics();SolidBrush myBrush = new SolidBrush(Color.Blue);g.DrawEllipse(myBrush, new Rectangle(50, 50, 100, 100)); C: Graphics g=CreateGraphics();SolidBrush myBrush = new SolidBrush(Color.Blue); g.FillEllipse(myBrush, new Rectangle(50, 50, 100, 100)); D: Graphics g=CreateGraphics();Pen myPen=new Pen(Color.Blue);g.FillEllipse(myPen, new Rectangle(50, 50, 100, 100));

    绘制一个实心圆,下列代码正确的是 A: Graphics g=CreateGraphics();Pen myPen=new Pen(Color.Blue);g.DrawEllipse(myPen, new Rectangle(50, 50, 100, 100)); B: Graphics g=CreateGraphics();SolidBrush myBrush = new SolidBrush(Color.Blue);g.DrawEllipse(myBrush, new Rectangle(50, 50, 100, 100)); C: Graphics g=CreateGraphics();SolidBrush myBrush = new SolidBrush(Color.Blue); g.FillEllipse(myBrush, new Rectangle(50, 50, 100, 100)); D: Graphics g=CreateGraphics();Pen myPen=new Pen(Color.Blue);g.FillEllipse(myPen, new Rectangle(50, 50, 100, 100));

  • 2022-06-26 问题

    定义一个画笔对象,下列哪项错误() A: Pen myPen=new Pen(Color.Red) B: Pen myPen=new Pen(new SolidBrush(Color.Red)) C: Pen myPen=new Pen(Color.Red,5) D: Pen myPen=new Pen(new Bitmap(“e:\\1.jpg”))

    定义一个画笔对象,下列哪项错误() A: Pen myPen=new Pen(Color.Red) B: Pen myPen=new Pen(new SolidBrush(Color.Red)) C: Pen myPen=new Pen(Color.Red,5) D: Pen myPen=new Pen(new Bitmap(“e:\\1.jpg”))

  • 2022-06-19 问题

    如果是用刷子来构造画笔,可以使用Brush类的派生类。Brush是抽象类,本身不能用于构造画笔,只能使用其派生类。以下哪些是.NET框架提供的刷子类。 A: ArgbBrush B: SolidBrush C: PathGradientBrush D: HatchBrush

    如果是用刷子来构造画笔,可以使用Brush类的派生类。Brush是抽象类,本身不能用于构造画笔,只能使用其派生类。以下哪些是.NET框架提供的刷子类。 A: ArgbBrush B: SolidBrush C: PathGradientBrush D: HatchBrush

  • 1