Search in sources :

Example 6 with Rectangle

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;
}
Also used : Rectangle(com.ait.lienzo.client.core.shape.Rectangle)

Aggregations

Rectangle (com.ait.lienzo.client.core.shape.Rectangle)6 Group (com.ait.lienzo.client.core.shape.Group)3 Text (com.ait.lienzo.client.core.shape.Text)3 AnimationProperties (com.ait.lienzo.client.core.animation.AnimationProperties)1 IAnimation (com.ait.lienzo.client.core.animation.IAnimation)1 IAnimationCallback (com.ait.lienzo.client.core.animation.IAnimationCallback)1 IAnimationHandle (com.ait.lienzo.client.core.animation.IAnimationHandle)1 IPathClipper (com.ait.lienzo.client.core.shape.IPathClipper)1 MultiPath (com.ait.lienzo.client.core.shape.MultiPath)1 BoundingBox (com.ait.lienzo.client.core.types.BoundingBox)1 GuidedDecisionTableTheme (org.drools.workbench.screens.guided.dtable.client.widget.table.themes.GuidedDecisionTableTheme)1 ShapeGlyph (org.uberfire.ext.wires.core.api.factories.ShapeGlyph)1 PaletteShape (org.uberfire.ext.wires.core.client.palette.PaletteShape)1