- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- namespace Draw3DPie
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- int width = 200;
- int height = 100;
- int x = 50;
- int y = 20;
- private void Form1_Paint(object sender, PaintEventArgs e)
- {
- Graphics g = e.Graphics;
- Pen pen = new Pen(Color.Gray);
- Rectangle rect = new Rectangle(x, y, width, height);
- //绘制椭圆柱体
- for (int i = y; i
关注打赏
热门博文
- Python:ULID通用唯一词典排序标识符
- Module not found: Error: Can‘t resolve ‘path‘
- 利用workflows工作流Actions自动部署Vue项目Deploy to GitHub Pages
- Vue2.js:前端在浏览器中网页表格打印的实现方案:window.print、print-js、iframe
- MacOS:使用内置的屏幕截图和屏幕录像功能
- css: Tailwind CSS一个功能类优先的 CSS 框架
- css:border-radius绘制边框圆角-全圆和椭圆
- PHP/Python/js:时间转为人类可读的字符串格式:刚刚、几分钟前、几小时前、几天前
- Golang:imaging一个简单、实用的图像处理工具
- element-plus:Dialog 对话框在有滚动条的页面会抖动
立即登录/注册


微信扫码登录