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

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

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

Line.setStrokeWidth介绍

暂无

代码示例

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

@Override
  public Line getGridHeaderBodyDivider() {
    final Line divider = new Line()
        .setStrokeColor(ColorName.SLATEGRAY)
        .setStrokeWidth(0.5);
    return divider;
  }
}

代码示例来源:origin: org.drools/drools-wb-guided-dtable-editor-client

@Override
public Line getGridHeaderBodyDivider() {
  final Line divider = new Line()
      .setStrokeColor(KIEColours.TABLE_GRID)
      .setStrokeWidth(GRID_LINE_WIDTH);
  return divider;
}

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

@Override
  public Line getGridHeaderBodyDivider() {
    final Line divider = new Line()
        .setStrokeColor(ColorName.GREY)
        .setStrokeWidth(0.5);
    return divider;
  }
}

代码示例来源:origin: kiegroup/drools-wb

@Override
public Line getGridHeaderBodyDivider() {
  final Line divider = new Line()
      .setStrokeColor(KIEColours.TABLE_GRID)
      .setStrokeWidth(GRID_LINE_WIDTH);
  return divider;
}

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

@Override
  public Line getGridHeaderBodyDivider() {
    final Line divider = new Line()
        .setStrokeColor(ColorName.SLATEGRAY)
        .setStrokeWidth(0.5);
    return divider;
  }
}

代码示例来源: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-grids

@Override
  public Line getGridHeaderBodyDivider() {
    final Line divider = new Line()
        .setStrokeColor(ColorName.SLATEGRAY)
        .setStrokeWidth(0.5);
    return divider;
  }
}

代码示例来源: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

@Override
  public Line getGridHeaderBodyDivider() {
    final Line divider = new Line()
        .setStrokeColor(ColorName.SLATEGRAY)
        .setStrokeWidth(0.5);
    return divider;
  }
}

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

@Override
  public Line getGridHeaderBodyDivider() {
    final Line divider = new Line()
        .setStrokeColor(ColorName.GREY)
        .setStrokeWidth(0.5);
    return divider;
  }
}

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

@Override
  public Line getGridHeaderBodyDivider() {
    final Line divider = new Line()
        .setStrokeColor(ColorName.SLATEGRAY)
        .setStrokeWidth(0.5);
    return divider;
  }
}

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

@Override
  public Line getGridHeaderBodyDivider() {
    final Line divider = new Line()
        .setStrokeColor(ColorName.SLATEGRAY)
        .setStrokeWidth(0.5);
    return divider;
  }
}

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

@Override
  public Line getGridHeaderBodyDivider() {
    return new Line()
        .setStrokeColor(KIEColours.TABLE_GRID)
        .setStrokeWidth(STROKE_WIDTH)
        .setVisible(true);
  }
}

代码示例来源:origin: kiegroup/drools-wb

@Override
public Line getGridHeaderBodyDivider() {
  return new Line()
      .setStrokeColor(TABLE_GRID)
      .setStrokeWidth(STROKE_WIDTH)
      .setVisible(true);
}

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

public StandardBackgroundGridLayer()
  {
    super(100, new Line().setAlpha(0.40).setStrokeWidth(1).setStrokeColor(ColorName.ROYALBLUE), 10, new Line().setAlpha(0.25).setStrokeWidth(1).setStrokeColor(ColorName.ROYALBLUE));

    setTransformable(false).setListening(false).getElement().getStyle().setBackgroundColor(ColorName.WHITE.getColorString());
  }
}

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

public StandardBackgroundGridLayer()
  {
    super(100, new Line().setAlpha(0.40).setStrokeWidth(1).setStrokeColor(ColorName.ROYALBLUE), 10, new Line().setAlpha(0.25).setStrokeWidth(1).setStrokeColor(ColorName.ROYALBLUE));

    setTransformable(false).setListening(false).getElement().getStyle().setBackgroundColor(ColorName.WHITE.getColorString());
  }
}

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

public StandardBackgroundGridLayer()
  {
    super(100, new Line().setAlpha(0.40).setStrokeWidth(1).setStrokeColor(ColorName.ROYALBLUE), 10, new Line().setAlpha(0.25).setStrokeWidth(1).setStrokeColor(ColorName.ROYALBLUE));

    setTransformable(false).setListening(false).getElement().getStyle().setBackgroundColor(ColorName.WHITE.getColorString());
  }
}

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

public BluePrintBackgroundGridLayer()
  {
    super(20, new Line().setAlpha(0.2).setStrokeWidth(1).setStrokeColor(ColorName.WHITE));

    setTransformable(false).setListening(false).getElement().getStyle().setBackgroundColor(ColorName.ROYALBLUE.getColorString());
  }
}

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

public BluePrintBackgroundGridLayer()
  {
    super(20, new Line().setAlpha(0.2).setStrokeWidth(1).setStrokeColor(ColorName.WHITE));

    setTransformable(false).setListening(false).getElement().getStyle().setBackgroundColor(ColorName.ROYALBLUE.getColorString());
  }
}

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

public BluePrintBackgroundGridLayer()
  {
    super(20, new Line().setAlpha(0.2).setStrokeWidth(1).setStrokeColor(ColorName.WHITE));

    setTransformable(false).setListening(false).getElement().getStyle().setBackgroundColor(ColorName.ROYALBLUE.getColorString());
  }
}

相关文章