多语言展示
当前在线:245今日阅读:167今日分享:16

使用vb.net进行cad编程:[6]绘图基础类2

在绘图基础类文件夹新建类cboxPublic Class CBox'结构VERTEX用来存储点的坐标Private m_minX, m_minY, m_maxX, m_maxY As Single Public Property minX() As Single Get Return m_minX End Get Set(ByVal Value As Single) m_minX = Value End Set End Property Public Property minY() As Single Get Return m_minY End Get Set(ByVal Value As Single) m_minY = Value End Set End Property Public Property maxX() As Single Get Return m_maxX End Get Set(ByVal Value As Single) m_maxX = Value End Set End Property Public Property maxY() As Single Get Return m_maxY End Get Set(ByVal Value As Single) m_maxY = Value End Set End PropertyEnd Class
推荐信息