Managed DirectX 3D常用结构
来源:互联网 发布:军工机床行业数据 编辑:程序博客网 时间:2024/05/07 22:06
1、点结构:Point, PointF
Point(int x, int y);PointF(float x, float y);
2、尺寸结构:Size, SizeF
3、矩形结构:Rectangle, RectangleFSize(int width, int height);SizeF(float width, float height);
属性x和y:矩形结构左上角的x、y坐标;
只读属性Left和Top:矩形结构左上角的x、y坐标;
属性width和height:矩形结构的宽度和高度;
只读属性:矩形结构的尺寸;
构造函数:
4、颜色结构:ColorRectangle(Point location, Size size);RectangleF(PointF location, SizeF size);Rectangle(int x, int y, int width, int height);RectangleF(float x, float y, float width, float height);
public static Color FromArgb(int alpha, int rr, int gg, int bb);public static Color FromArgb(int rr, int gg, int bb); //透明度默认255,即完全不透明;public static Color FromArgb(int alpha, Color color);
0 0
- Managed DirectX 3D常用结构
- 3D Terrain Visualisation in Managed DirectX 9 and C#
- 使用C# + Managed DIrectX 制作 2D 游戏使用C# + Managed DIrectX 制作 2D 游戏
- 用Managed DirectX 9和C#实现3D地形可视化
- C# Managed DirectX 三角形旋转(修改Direct 3D绘制流水线(渲染管线)中代码)
- DirectX 3D图形
- DirectX 3D纹理
- Managed DirectX 第四章
- Managed DirectX(2)
- DirectX 3D的封装
- OpenGL和DirectX 3D
- DirectX 3D 灯光控制
- DirectX 3D开发记录
- DirectX 3D学习笔记
- DirectX 3D Mesh类
- DirectX 9.0 3D 笔记
- managed DirectX (第三章)
- Managed DirectX(第五章)
- 1-14-2- 带姓名的成绩单
- 银行储蓄系统指导
- 关于Linux下LAMP环境的搭建(二):Ubuntu相关配置
- 分享一下Xmpp在iPhone和Android上断线后重连的注意点
- java日期加减
- Managed DirectX 3D常用结构
- springmvc深入1
- 在Android4.0中Contacts添加联系人界面分析(源码)
- computer go
- eclipse 4.0以上安装jadclipse
- 【c++程序】图书馆购书系统(尚存问题)
- 使用 nice、cpulimit 和 cgroups 限制 cpu 占用率
- SmartUpload的使用(有个小问题,大神请进~)
- springmvc深入2