gpt4 book ai didi

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

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

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

WiresShape.getContainer介绍

暂无

代码示例

代码示例来源:origin: ahome-it/lienzo-core

public void rebuildBoundingBox()
{
  m_selManager.m_startBoundingBox = null;
  m_bbox = new BoundingBox();
  for (final WiresShape shape : m_shapes)
  {
    final BoundingBox nodeBox = shape.getContainer().getComputedBoundingPoints().getBoundingBox();
    m_bbox.add(nodeBox);
  }
  for (final WiresConnector connector : m_connectors)
  {
    if (!m_externallyConnected.contains(connector))
    {
      final BoundingBox nodeBox = connector.getGroup().getComputedBoundingPoints().getBoundingBox();
      m_bbox.add(nodeBox);
    }
  }
}

代码示例来源:origin: ahome-it/lienzo-core

public void rebuildBoundingBox()
{
  m_selManager.m_startBoundingBox = null;
  m_bbox = new BoundingBox();
  for (final WiresShape shape : m_shapes)
  {
    final BoundingBox nodeBox = shape.getContainer().getComputedBoundingPoints().getBoundingBox();
    m_bbox.add(nodeBox);
  }
  for (final WiresConnector connector : m_connectors)
  {
    if (!m_externallyConnected.contains(connector))
    {
      final BoundingBox nodeBox = connector.getGroup().getComputedBoundingPoints().getBoundingBox();
      m_bbox.add(nodeBox);
    }
  }
}

代码示例来源:origin: com.ahome-it/lienzo-core

public void rebuildBoundingBox()
{
  m_selManager.m_startBoundingBox = null;
  m_bbox = new BoundingBox();
  for (final WiresShape shape : m_shapes)
  {
    final BoundingBox nodeBox = shape.getContainer().getComputedBoundingPoints().getBoundingBox();
    m_bbox.add(nodeBox);
  }
  for (final WiresConnector connector : m_connectors)
  {
    if (!m_externallyConnected.contains(connector))
    {
      final BoundingBox nodeBox = connector.getGroup().getComputedBoundingPoints().getBoundingBox();
      m_bbox.add(nodeBox);
    }
  }
}

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

((WiresShapeView) shape).consumeChildrenAndConnectors(primConsumer);
} else {
  primConsumer.accept(shape.getContainer());

代码示例来源:origin: com.ahome-it/lienzo-core

nodeBox = shape.getContainer().getComputedBoundingPoints().getBoundingBox();
if (selectionBox.intersects(nodeBox))
  shapesMap.put(shape.getContainer().uuid(), shape);
  uuidMap.put(shape.getContainer().uuid(), nodeBox);
shapesMap.remove(shape.getContainer().uuid());
nodeBox = uuidMap.get(shape.getContainer().uuid());
m_selected.add(shape);
box.add(nodeBox);

代码示例来源:origin: ahome-it/lienzo-core

nodeBox = shape.getContainer().getComputedBoundingPoints().getBoundingBox();
if (selectionBox.intersects(nodeBox))
  shapesMap.put(shape.getContainer().uuid(), shape);
  uuidMap.put(shape.getContainer().uuid(), nodeBox);
shapesMap.remove(shape.getContainer().uuid());
nodeBox = uuidMap.get(shape.getContainer().uuid());
m_selected.add(shape);
box.add(nodeBox);

代码示例来源:origin: ahome-it/lienzo-core

nodeBox = shape.getContainer().getComputedBoundingPoints().getBoundingBox();
if (selectionBox.intersects(nodeBox))
  shapesMap.put(shape.getContainer().uuid(), shape);
  uuidMap.put(shape.getContainer().uuid(), nodeBox);
shapesMap.remove(shape.getContainer().uuid());
nodeBox = uuidMap.get(shape.getContainer().uuid());
m_selected.add(shape);
box.add(nodeBox);

代码示例来源:origin: com.ahome-it/lienzo-core

final BoundingBox bbox = shape.getContainer().getComputedBoundingPoints().getBoundingBox();

代码示例来源:origin: ahome-it/lienzo-core

final BoundingBox bbox = shape.getContainer().getComputedBoundingPoints().getBoundingBox();

代码示例来源:origin: ahome-it/lienzo-core

final BoundingBox bbox = shape.getContainer().getComputedBoundingPoints().getBoundingBox();

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