帮助:如何将Region对象转换为GraphicsPath对象 [英] HELP: How to convert a Region object to a GraphicsPath object

查看:298
本文介绍了帮助:如何将Region对象转换为GraphicsPath对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个复杂的Region对象,我需要绘制轮廓,但

不填充

如何将Region对象转换为GraphicsPath对象? />
或如何绘制Region对象的轮廓?

I have a complicated Region object, which I need to draw the outline, but
not fill
How can I convert the Region object to GraphicsPath object?
or How can I draw the outline of the Region object?

推荐答案

Altramagnus,


根据您使用的语言,这些更新的特殊问题在这些新闻组中可能会得到更好的答案


microsoft.public.dotnet。 languages.vb

microsoft.public.dotnet.languages.csharp

和crosspostes(作为一条消息)

microsoft.public.dotnet .framework.drawings


我希望这有帮助吗?


Cor
Altramagnus,

This kind of more special questions get probably a better answer in one of
these newsgroups depending the language you use

microsoft.public.dotnet.languages.vb
microsoft.public.dotnet.languages.csharp
and than crosspostes (as one message) to
microsoft.public.dotnet.framework.drawings

I hope this helps?

Cor


Altramagnus ,

而不是从一个Region开始并创建一个GraphicsPath,你有没有考虑从一个GraphicsPath开始并创建一个Region?



或者只是简单地使用GraphicsPath?


希望这有帮助

Jay


" Altramagnus" <人********* @ hotmail.com>在消息中写道

news:41 ****** @ news.starhub.net.sg ...
Altramagnus,
Instead of starting with a Region and creating a GraphicsPath, have you
considered starting with a GraphicsPath and creating a Region?

Or simply using a GraphicsPath only?

Hope this helps
Jay

"Altramagnus" <al*********@hotmail.com> wrote in message
news:41******@news.starhub.net.sg...
我有一个复杂的Region对象,我需要它绘制轮廓,但是不填充
如何将Region对象转换为GraphicsPath对象?
或者如何绘制Region对象的轮廓?
I have a complicated Region object, which I need to draw the outline, but
not fill
How can I convert the Region object to GraphicsPath object?
or How can I draw the outline of the Region object?



是的,我从GraphicsPath获得了我的区域。

原因是我需要得到工会。


好​​的。这是我的要求:

我有n个圈子。其中一些可能会重叠。

但我需要在联合所有圈子之后的轮廓。

创建1圈的GraphicsPath很容易。

但是如何创建联合形状的graphicsPath?


谢谢。


" Jay B. Harlow [MVP - 前景] QUOT; < JA ************ @ msn.com>在消息中写道

news:OU ************** @ TK2MSFTNGP11.phx.gbl ...
Yes, I got my Region from GraphicsPath.
The reason is I need to get the union.

OK. This is my requirement:
I have n number of circles. Some of them might overlap.
But I need the outline after union all the circles.
Creating GraphicsPath of 1 circle is easy.
But how do I create the graphicsPath of the union shape?

Thanks.


"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:OU**************@TK2MSFTNGP11.phx.gbl...
Altramagnus,不是从Region开始并创建GraphicsPath,您是否考虑过从GraphicsPath开始并创建一个区域?

或仅仅使用GraphicsPath?
希望这有帮助
杰伊

Altramagnus <人********* @ hotmail.com>在消息中写道
新闻:41 ****** @ news.starhub.net.sg ...
Altramagnus,
Instead of starting with a Region and creating a GraphicsPath, have you
considered starting with a GraphicsPath and creating a Region?

Or simply using a GraphicsPath only?

Hope this helps
Jay

"Altramagnus" <al*********@hotmail.com> wrote in message
news:41******@news.starhub.net.sg...
我有一个复杂的Region对象,我需要绘制轮廓,
但不填写
如何将Region对象转换为GraphicsPath对象?
或如何绘制Region对象的轮廓?
I have a complicated Region object, which I need to draw the outline, but not fill
How can I convert the Region object to GraphicsPath object?
or How can I draw the outline of the Region object?




这篇关于帮助:如何将Region对象转换为GraphicsPath对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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