调整EllipseGeometry对象的大小 [英] resize a EllipseGeometry object

查看:82
本文介绍了调整EllipseGeometry对象的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是WPF的新手,我在Canvas上绘制了不同的Geometry,例如EllipseGeometry.
现在,我想用鼠标拖动它并调整其大小,这是一个典型且简单的CAD操作.但是我做不到.有人可以帮助我吗?宽度和高度的更改无效.
谢谢!

Hi,

I am new to WPF, I plot different Geometry on Canvas such as EllipseGeometry.
now I want to drag it with mouse and resize it, this is a typical and simple CAD operation. But i could not make it. Anyone can help me? The change of the width and height does not work.
Thanks!

推荐答案

这篇文章也许会有所帮助: ^ ]
Maybe this article will help: Dragging Elements in a Canvas[^]


您应该阅读这个家伙的整篇文章:
WPF图设计器:第1部分 [
You should read the whole article series from this guy:
WPF Diagram Designer: Part 1[^]


这篇关于调整EllipseGeometry对象的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆