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

x33g5p2x  于2022-01-24 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(131)

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

Line.setDraggable介绍

暂无

代码示例

代码示例来源:origin: kiegroup/appformer

public WiresTreeNodeConnector() {
    setStrokeColor(ShapesUtils.RGB_STROKE_SHAPE)
        .setStrokeWidth(ShapesUtils.RGB_STROKE_WIDTH_SHAPE)
        .setFillColor(ShapesUtils.RGB_FILL_SHAPE)
        .setLineCap(LineCap.ROUND)
        .setStrokeWidth(3)
        .setDraggable(false);
  }
}

代码示例来源:origin: org.uberfire/uberfire-wires-core-trees

public WiresTreeNodeConnector() {
    setStrokeColor(ShapesUtils.RGB_STROKE_SHAPE)
        .setStrokeWidth(ShapesUtils.RGB_STROKE_WIDTH_SHAPE)
        .setFillColor(ShapesUtils.RGB_FILL_SHAPE)
        .setLineCap(LineCap.ROUND)
        .setStrokeWidth(3)
        .setDraggable(false);
  }
}

代码示例来源:origin: org.uberfire/uberfire-wires-core-scratchpad

@Override
protected Line makeShape() {
  final Line line = new Line(0 - (SHAPE_SIZE_X / 2),
                0 - (SHAPE_SIZE_Y / 2),
                SHAPE_SIZE_X / 2,
                SHAPE_SIZE_Y / 2);
  line.setStrokeColor(ShapesUtils.RGB_STROKE_SHAPE)
      .setStrokeWidth(ShapesUtils.RGB_STROKE_WIDTH_SHAPE)
      .setFillColor(ShapesUtils.RGB_FILL_SHAPE)
      .setLineCap(LineCap.ROUND)
      .setStrokeWidth(3)
      .setDraggable(false);
  return line;
}

代码示例来源:origin: kiegroup/appformer

@Override
protected Line makeShape() {
  final Line line = new Line(0 - (SHAPE_SIZE_X / 2),
                0 - (SHAPE_SIZE_Y / 2),
                SHAPE_SIZE_X / 2,
                SHAPE_SIZE_Y / 2);
  line.setStrokeColor(ShapesUtils.RGB_STROKE_SHAPE)
      .setStrokeWidth(ShapesUtils.RGB_STROKE_WIDTH_SHAPE)
      .setFillColor(ShapesUtils.RGB_FILL_SHAPE)
      .setLineCap(LineCap.ROUND)
      .setStrokeWidth(3)
      .setDraggable(false);
  return line;
}

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

public static Line line(final int width,
            final int height,
            final double dAlpha,
            final double dWidth,
            final String dColor) {
  return new Line(0, 0, width, height)
      .setDraggable(false)
      .setListening(false)
      .setFillAlpha(0)
      .setDashArray(5)
      .setStrokeAlpha(dAlpha)
      .setStrokeWidth(dWidth)
      .setStrokeColor(dColor);
}

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

final Line line = lines.get(i - 1);
line.moveToTop();
line.setDraggable(false);

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

final Line line = lines.get(i - 1);
line.moveToTop();
line.setDraggable(false);

相关文章