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

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

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

Line.setFillColor介绍

暂无

代码示例

代码示例来源: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: 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: 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.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: org.uberfire/uberfire-wires-core-grids

.setVisible(!isGridPinned())
    .setStrokeColor(ColorName.DARKGRAY)
    .setFillColor(ColorName.TAN)
    .setStrokeWidth(2.0);
gridWidgetConnectors.put(connector,

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

.setVisible(!isGridPinned())
    .setStrokeColor(ColorName.DARKGRAY)
    .setFillColor(ColorName.TAN)
    .setStrokeWidth(2.0);
gridWidgetConnectors.put(connector,

相关文章