Search in sources :

Example 1 with BoxDecorator

use of com.ait.lienzo.client.core.shape.toolbox.items.decorator.BoxDecorator in project kie-wb-common by kiegroup.

the class FlowActionsToolboxView method createDecorator.

@Override
protected BoxDecorator createDecorator() {
    final BoxDecorator decorator = super.createDecorator();
    decorator.configure(path -> {
        path.setStrokeWidth(1).setStrokeColor("#0000FF").setShadow(new Shadow(ColorName.BLACK.getColor().setA(0.80), 10, 3, 3));
    });
    return decorator;
}
Also used : Shadow(com.ait.lienzo.client.core.types.Shadow) BoxDecorator(com.ait.lienzo.client.core.shape.toolbox.items.decorator.BoxDecorator)

Aggregations

BoxDecorator (com.ait.lienzo.client.core.shape.toolbox.items.decorator.BoxDecorator)1 Shadow (com.ait.lienzo.client.core.types.Shadow)1