我发现下面的代码中PAffineTransform: /**
* Scales the transform about the given point by the given scale.
*
* @param scale to transform the transform by
* @param x x coordinate around which
为什么第一个和第三个矩形不出现在下面的示例中? 看起来像长方形是一旦它有零大小被打破。 package tests.piccolo;
import org.piccolo2d.extras.PFrame;
import org.piccolo2d.nodes.PPath;
public class Try_EmptyRectangle {
public static void
无论是处理器的下方按键执行: public class Try_KeyboardInput_01 {
private static final Logger log = LoggerFactory.getLogger(Try_KeyboardInput_01.class);
@SuppressWarnings("serial")
public static voi
在主要Java中,它支持“缠绕规则”,这可能有助于在形状上打洞。 不幸的是,这个概念在Piccolo2D忽略: public class Try_Holes_01 {
@SuppressWarnings("serial")
public static void main(String[] args) {
final Path2D path = new Path2