本文整理了Java中com.ait.lienzo.client.core.shape.Rectangle.setStrokeAlpha
方法的一些代码示例,展示了Rectangle.setStrokeAlpha
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Rectangle.setStrokeAlpha
方法的具体详情如下:
包路径:com.ait.lienzo.client.core.shape.Rectangle
类名称:Rectangle
方法名:setStrokeAlpha
暂无
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-lienzo-extensions
public Rectangle createRectangle(final double width,
final double height) {
return new Rectangle(width + padding,
height + padding)
.setCornerRadius(5)
.setFillColor(ColorName.BLACK)
.setFillAlpha(0.01)
.setStrokeWidth(1)
.setStrokeColor(ColorName.BLACK)
.setStrokeAlpha(0);
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-lienzo
public static IPrimitive<?> rectangle(final int width,
final int height,
final double dAlpha,
final double dWidth,
final String dColor) {
return new Rectangle(width, height)
.setListening(false)
.setDraggable(false)
.setX(0)
.setY(0)
.setFillAlpha(0)
.setStrokeAlpha(dAlpha)
.setStrokeWidth(dWidth)
.setStrokeColor(dColor);
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-svg-client
@Before
public void setup() throws Exception {
shape = new Rectangle(10, 10)
.setID("theShape")
.setAlpha(0.5d)
.setX(100d)
.setY(200d)
.setFillColor("fillColor")
.setFillAlpha(0.1d)
.setStrokeColor("strokeColor")
.setStrokeAlpha(0.2d)
.setStrokeWidth(0.3d);
tested = new SVGPrimitiveShape(shape);
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-bpmn-client
private SVGBasicShapeView noneTaskBasicView(final double width, final double height) {
SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeAlpha(0.00), false, null);
final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("noneTask", mainShape, width, height);
SVGPrimitiveShape task_border = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task-border").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#000000").setStrokeWidth(1.50), true, null);
view.addChild(task_border);
return view;
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-lienzo-extensions
.setFillColor(BG_COLOR)
.setFillAlpha(ALPHA)
.setStrokeAlpha(0)
.setCornerRadius(5);
final Group decorator = new Group();
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-bpmn-client
private SVGShapeView noneTaskView(final double width, final double height, final boolean resizable) {
SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeAlpha(0.00), true, null);
final SVGShapeView view = getViewBuilder().build("noneTask", mainShape, width, height, resizable);
SVGPrimitiveShape task_border = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task-border").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#000000").setStrokeWidth(1.50), true, null);
view.addChild(task_border);
view.setTitleAlpha(1.00d);view.setTitleFontFamily("Open Sans");view.setTitleFontSize(12.00d);view.setTitleFontColor("#000000");view.setTitleStrokeWidth(1.00d);view.setTitleStrokeColor("#393f44");
if (view instanceof SVGShapeViewImpl) {
((SVGShapeViewImpl) view).getShapeStateHandler().setBorderShape(() -> SVGViewUtils.getVisibleShape(task_border));
((SVGShapeViewImpl) view).getShapeStateHandler().setRenderType(org.kie.workbench.common.stunner.client.lienzo.shape.impl.ShapeStateDefaultHandler.RenderType.STROKE);
}
return view;
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-bpmn-client
private SVGBasicShapeView userTaskBasicView(final double width, final double height) {
SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeAlpha(0.00), false, null);
final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("userTask", mainShape, width, height);
SVGPrimitiveShape task_border = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task-border").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#000000").setStrokeWidth(1.50), true, null);
view.addChild(task_border);
SVGContainer task__3Vio = SVGPrimitiveFactory.newSVGContainer("task__3Vio",new com.ait.lienzo.client.core.shape.Group().setDraggable(false).add( new com.ait.lienzo.client.core.shape.Group().setDraggable(false).setID("task__3Vio").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(0.06,0.06).setOffset(10.00,10.00).setListening(false) ), false, null);SVGPrimitiveShape task__3Vio__949m = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_TASK__3VIO__949M).setDraggable(false).setID("task__3Vio__949m").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#393f44"), false, null);task__3Vio.add(task__3Vio__949m);
view.addChild(task__3Vio);
return view;
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-bpmn-client
private SVGBasicShapeView serviceTaskBasicView(final double width, final double height) {
SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeAlpha(0.00), false, null);
final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("serviceTask", mainShape, width, height);
SVGPrimitiveShape task_border = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task-border").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#000000").setStrokeWidth(1.50), true, null);
view.addChild(task_border);
SVGContainer task_group_service = SVGPrimitiveFactory.newSVGContainer("task_group_service",new com.ait.lienzo.client.core.shape.Group().setDraggable(false).add( new com.ait.lienzo.client.core.shape.Group().setDraggable(false).setID("task_group_service").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setListening(false) ), false, null);SVGPrimitiveShape task_service_icon = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Picture("data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==").setDraggable(false).setID("task_service_icon").setX(10.00).setY(10.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00), false, null);task_group_service.add(task_service_icon);
view.addChild(task_group_service);
return view;
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-bpmn-client
private SVGBasicShapeView businessRuleTaskBasicView(final double width, final double height) {
SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeAlpha(0.00), false, null);
final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("businessRuleTask", mainShape, width, height);
SVGPrimitiveShape task_border = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task-border").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#000000").setStrokeWidth(1.50), true, null);
view.addChild(task_border);
SVGContainer task__FlT7 = SVGPrimitiveFactory.newSVGContainer("task__FlT7",new com.ait.lienzo.client.core.shape.Group().setDraggable(false).add( new com.ait.lienzo.client.core.shape.Group().setDraggable(false).setID("task__FlT7").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(0.06,0.06).setOffset(10.00,10.00).setListening(false) ), false, null);SVGPrimitiveShape task__FlT7__JHdg = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_TASK__FLT7__JHDG).setDraggable(false).setID("task__FlT7__JHdg").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#393f44"), false, null);task__FlT7.add(task__FlT7__JHdg);
view.addChild(task__FlT7);
return view;
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-bpmn-client
private SVGShapeView userTaskView(final double width, final double height, final boolean resizable) {
SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeAlpha(0.00), true, null);
final SVGShapeView view = getViewBuilder().build("userTask", mainShape, width, height, resizable);
SVGPrimitiveShape task_border = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task-border").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#000000").setStrokeWidth(1.50), true, null);
view.addChild(task_border);
SVGContainer task__3Vio = SVGPrimitiveFactory.newSVGContainer("task__3Vio",new com.ait.lienzo.client.core.shape.Group().setDraggable(false).add( new com.ait.lienzo.client.core.shape.Group().setDraggable(false).setID("task__3Vio").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(0.06,0.06).setOffset(10.00,10.00).setListening(false) ), false, null);SVGPrimitiveShape task__3Vio__949m = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_TASK__3VIO__949M).setDraggable(false).setID("task__3Vio__949m").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#393f44"), false, null);task__3Vio.add(task__3Vio__949m);
view.addChild(task__3Vio);
view.setTitleAlpha(1.00d);view.setTitleFontFamily("Open Sans");view.setTitleFontSize(12.00d);view.setTitleFontColor("#000000");view.setTitleStrokeWidth(1.00d);view.setTitleStrokeColor("#393f44");
if (view instanceof SVGShapeViewImpl) {
((SVGShapeViewImpl) view).getShapeStateHandler().setBorderShape(() -> SVGViewUtils.getVisibleShape(task_border));
((SVGShapeViewImpl) view).getShapeStateHandler().setRenderType(org.kie.workbench.common.stunner.client.lienzo.shape.impl.ShapeStateDefaultHandler.RenderType.STROKE);
}
return view;
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-bpmn-client
private SVGShapeView businessRuleTaskView(final double width, final double height, final boolean resizable) {
SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeAlpha(0.00), true, null);
final SVGShapeView view = getViewBuilder().build("businessRuleTask", mainShape, width, height, resizable);
SVGPrimitiveShape task_border = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task-border").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#000000").setStrokeWidth(1.50), true, null);
view.addChild(task_border);
SVGContainer task__FlT7 = SVGPrimitiveFactory.newSVGContainer("task__FlT7",new com.ait.lienzo.client.core.shape.Group().setDraggable(false).add( new com.ait.lienzo.client.core.shape.Group().setDraggable(false).setID("task__FlT7").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(0.06,0.06).setOffset(10.00,10.00).setListening(false) ), false, null);SVGPrimitiveShape task__FlT7__JHdg = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_TASK__FLT7__JHDG).setDraggable(false).setID("task__FlT7__JHdg").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#393f44"), false, null);task__FlT7.add(task__FlT7__JHdg);
view.addChild(task__FlT7);
view.setTitleAlpha(1.00d);view.setTitleFontFamily("Open Sans");view.setTitleFontSize(12.00d);view.setTitleFontColor("#000000");view.setTitleStrokeWidth(1.00d);view.setTitleStrokeColor("#393f44");
if (view instanceof SVGShapeViewImpl) {
((SVGShapeViewImpl) view).getShapeStateHandler().setBorderShape(() -> SVGViewUtils.getVisibleShape(task_border));
((SVGShapeViewImpl) view).getShapeStateHandler().setRenderType(org.kie.workbench.common.stunner.client.lienzo.shape.impl.ShapeStateDefaultHandler.RenderType.STROKE);
}
return view;
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-bpmn-client
private SVGShapeView serviceTaskView(final double width, final double height, final boolean resizable) {
SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeAlpha(0.00), true, null);
final SVGShapeView view = getViewBuilder().build("serviceTask", mainShape, width, height, resizable);
SVGPrimitiveShape task_border = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task-border").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#000000").setStrokeWidth(1.50), true, null);
view.addChild(task_border);
SVGContainer task_group_service = SVGPrimitiveFactory.newSVGContainer("task_group_service",new com.ait.lienzo.client.core.shape.Group().setDraggable(false).add( new com.ait.lienzo.client.core.shape.Group().setDraggable(false).setID("task_group_service").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setListening(false) ), false, null);SVGPrimitiveShape task_service_icon = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Picture("data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==").setDraggable(false).setID("task_service_icon").setX(10.00).setY(10.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00), false, null);task_group_service.add(task_service_icon);
view.addChild(task_group_service);
view.setTitleAlpha(1.00d);view.setTitleFontFamily("Open Sans");view.setTitleFontSize(12.00d);view.setTitleFontColor("#000000");view.setTitleStrokeWidth(1.00d);view.setTitleStrokeColor("#393f44");
if (view instanceof SVGShapeViewImpl) {
((SVGShapeViewImpl) view).getShapeStateHandler().setBorderShape(() -> SVGViewUtils.getVisibleShape(task_border));
((SVGShapeViewImpl) view).getShapeStateHandler().setRenderType(org.kie.workbench.common.stunner.client.lienzo.shape.impl.ShapeStateDefaultHandler.RenderType.STROKE);
}
return view;
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-bpmn-client
private SVGBasicShapeView scriptTaskBasicView(final double width, final double height) {
SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeAlpha(0.00), false, null);
final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("scriptTask", mainShape, width, height);
SVGPrimitiveShape task_border = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task-border").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#000000").setStrokeWidth(1.50), true, null);
view.addChild(task_border);
SVGContainer task__Utec = SVGPrimitiveFactory.newSVGContainer("task__Utec",new com.ait.lienzo.client.core.shape.Group().setDraggable(false).add( new com.ait.lienzo.client.core.shape.Group().setDraggable(false).setID("task__Utec").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(0.06,0.06).setOffset(10.00,10.00).setListening(false) ), false, null);SVGPrimitiveShape task__Utec__ts1K = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_TASK__UTEC__TS1K).setDraggable(false).setID("task__Utec__ts1K").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#393f44"), false, null);task__Utec.add(task__Utec__ts1K);SVGPrimitiveShape task__Utec__U6ex = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_TASK__UTEC__U6EX).setDraggable(false).setID("task__Utec__U6ex").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#393f44"), false, null);task__Utec.add(task__Utec__U6ex);SVGPrimitiveShape task__Utec__NWQr = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_TASK__UTEC__NWQR).setDraggable(false).setID("task__Utec__NWQr").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#393f44"), false, null);task__Utec.add(task__Utec__NWQr);
view.addChild(task__Utec);
return view;
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-bpmn-client
private SVGShapeView scriptTaskView(final double width, final double height, final boolean resizable) {
SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeAlpha(0.00), true, null);
final SVGShapeView view = getViewBuilder().build("scriptTask", mainShape, width, height, resizable);
SVGPrimitiveShape task_border = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task-border").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#000000").setStrokeWidth(1.50), true, null);
view.addChild(task_border);
SVGContainer task__Utec = SVGPrimitiveFactory.newSVGContainer("task__Utec",new com.ait.lienzo.client.core.shape.Group().setDraggable(false).add( new com.ait.lienzo.client.core.shape.Group().setDraggable(false).setID("task__Utec").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(0.06,0.06).setOffset(10.00,10.00).setListening(false) ), false, null);SVGPrimitiveShape task__Utec__ts1K = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_TASK__UTEC__TS1K).setDraggable(false).setID("task__Utec__ts1K").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#393f44"), false, null);task__Utec.add(task__Utec__ts1K);SVGPrimitiveShape task__Utec__U6ex = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_TASK__UTEC__U6EX).setDraggable(false).setID("task__Utec__U6ex").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#393f44"), false, null);task__Utec.add(task__Utec__U6ex);SVGPrimitiveShape task__Utec__NWQr = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_TASK__UTEC__NWQR).setDraggable(false).setID("task__Utec__NWQr").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#393f44"), false, null);task__Utec.add(task__Utec__NWQr);
view.addChild(task__Utec);
view.setTitleAlpha(1.00d);view.setTitleFontFamily("Open Sans");view.setTitleFontSize(12.00d);view.setTitleFontColor("#000000");view.setTitleStrokeWidth(1.00d);view.setTitleStrokeColor("#393f44");
if (view instanceof SVGShapeViewImpl) {
((SVGShapeViewImpl) view).getShapeStateHandler().setBorderShape(() -> SVGViewUtils.getVisibleShape(task_border));
((SVGShapeViewImpl) view).getShapeStateHandler().setRenderType(org.kie.workbench.common.stunner.client.lienzo.shape.impl.ShapeStateDefaultHandler.RenderType.STROKE);
}
return view;
}
内容来源于网络,如有侵权,请联系作者删除!