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

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

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

Line.<init>介绍

[英]Constructor. Creates an instance of a line of 0-pixel length, at the 0,0 coordinates.
[中]构造器。在0,0坐标处创建长度为0像素的线的实例。

代码示例

代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core

@Override
  public Line create(final JSONObject node, final ValidationContext ctx) throws ValidationException
  {
    return new Line(node, ctx);
  }
}

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

@Override
  public Line create(final JSONObject node, final ValidationContext ctx) throws ValidationException
  {
    return new Line(node, ctx);
  }
}

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

@Override
  public Line create(final JSONObject node, final ValidationContext ctx) throws ValidationException
  {
    return new Line(node, ctx);
  }
}

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

@Override
  public Line create(final JSONObject node, final ValidationContext ctx) throws ValidationException
  {
    return new Line(node, ctx);
  }
}

代码示例来源: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.SLATEGRAY)
        .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.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: 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: 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 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());
  }
}

相关文章