gpt4 book ai didi

com.ait.lienzo.client.core.shape.wires.WiresShape.()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-21 10:47:05 26 4
gpt4 key购买 nike

本文整理了Java中com.ait.lienzo.client.core.shape.wires.WiresShape.<init>()方法的一些代码示例,展示了WiresShape.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WiresShape.<init>()方法的具体详情如下:
包路径:com.ait.lienzo.client.core.shape.wires.WiresShape
类名称:WiresShape
方法名:<init>

WiresShape.<init>介绍

暂无

代码示例

代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-widgets

@Before
public void init() {
  layer = new Layer();
  wiresLayer = new WiresLayer(layer);
  shape1 = new WiresShape(new MultiPath().circle(50))
      .setLocation(new Point2D(100, 33));
  shape2 = new WiresShape(new MultiPath().circle(230))
      .setLocation(new Point2D(15, 120));
  wiresLayer.add(shape1);
  wiresLayer.add(shape2);
}

代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-case-mgmt-client

final double delta = 0.00000001d;
final WiresShape parent = new WiresShape(new MultiPath().rect(0.0d, 0.0d, 1.0d, height));
final WiresShape child1 = new WiresShape(new MultiPath().rect(0.0d, 0.0d, 1.0d, height));
parent.add(child1);
final WiresShape grandchild11 = new WiresShape(new MultiPath().rect(0.0d, 0.0d, 1.0d, height));
final WiresShape grandchild12 = new WiresShape(new MultiPath().rect(0.0d, 0.0d, 1.0d, height));
parent.add(grandchild11);
parent.add(grandchild12);
final WiresShape child2 = new WiresShape(new MultiPath().rect(0.0d, 0.0d, 1.0d, height));
parent.add(child2);
final WiresShape grandchild21 = new WiresShape(new MultiPath().rect(0.0d, 0.0d, 1.0d, height));
final WiresShape grandchild22 = new WiresShape(new MultiPath().rect(0.0d, 0.0d, 1.0d, height));
parent.add(grandchild21);
parent.add(grandchild22);
final WiresShape child3 = new WiresShape(new MultiPath().rect(0.0d, 0.0d, 1.0d, height));
parent.add(child3);

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com