use of com.ait.lienzo.client.core.shape.wires.handlers.impl.AlignAndDistributeControlImpl in project lienzo-core by ahome-it.
the class AlignAndDistribute method addShape.
public AlignAndDistributeControl addShape(final IDrawable<?> group) {
final String uuid = group.uuid();
AlignAndDistributeControl handler = m_shapes.get(uuid);
// only add if the group has not already been added
if (null == handler) {
handler = new AlignAndDistributeControlImpl((IPrimitive<?>) group, this, m_alignmentCallback, group.getBoundingBoxAttributes());
m_shapes.put(uuid, handler);
}
return handler;
}
Aggregations