use of com.ait.lienzo.client.core.shape.Rectangle in project drools-wb by kiegroup.
the class GuidedDecisionTreeStencilPaletteBuilder method drawBoundingBox.
@Override
protected Rectangle drawBoundingBox(final ShapeFactory factory, final FactoryHelper helper) {
final Rectangle boundingBox = new Rectangle(STENCIL_WIDTH, STENCIL_HEIGHT, STENCIL_CORNER_RADIUS);
boundingBox.setStrokeColor(ShapeFactoryUtil.RGB_STROKE_BOUNDING).setStrokeWidth(1).setFillColor(ShapeFactoryUtil.RGB_FILL_BOUNDING).setDraggable(false);
return boundingBox;
}
Aggregations