在JFreeChart中,缠绕规则是什么? [英] In JFreeChart, what is a winding rule?
本文介绍了在JFreeChart中,缠绕规则是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在JFreeChart中,缠绕规则是什么?
In JFreeChart, what is a winding rule?
它的价值有什么意义?
没有找到有关其用法的javadoc或示例.
There is no javadoc or example for its usage that could be found.
推荐答案
如此处所建议的,缠绕规则适用于确定路径的内部,通常用于填充或相交.因为 GeneralPath
可以具有两个不同的缠绕规则之一, equal()
,见 SerialUtils
序列化GeneralPath
时包含属性,如
As suggested here, a winding rule applies to determining the interior of a path, typically for filling or intersecting. Because a GeneralPath
can have one of two different winding rules, ShapeUtils
must include it in the corresponding implementation of equal()
, seen here. Similarly, SerialUtils
must include the attribute when serializing a GeneralPath
, as seen here.
这篇关于在JFreeChart中,缠绕规则是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文