我發現下面的代碼中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