@Test public void testGetCircleDimensionSet() { CircleDimensionSet circleDimensionSet = tested.getCircleDimensionSet(); assertEquals(32.5d, circleDimensionSet.getRadius().getValue(), 0d); }
@Override public CircleDimensionSet getCircleDimensionSet() { if (shape == null) { return new CircleDimensionSet(); } return new CircleDimensionSet(new Radius( shape.getBounds().getWidth() * resolutionFactor / 2d)); }
BasePropertyReader implements PropertyReader { @Override public CircleDimensionSet getCircleDimensionSet() { if (shape == null) { return new CircleDimensionSet(); } return new CircleDimensionSet(new Radius( shape.getBounds().getWidth() * resolutionFactor / 2d)); } }
BasePropertyReader implements PropertyReader { @Override public CircleDimensionSet getCircleDimensionSet() { if (shape == null) { return new CircleDimensionSet(); } return new CircleDimensionSet(new Radius( shape.getBounds().getWidth() * resolutionFactor / 2d)); } BasePropertyReader(final BaseElement element,
                              final BPMNDiagram diagram,
                              final BPMNShape shape,
                              final double resolutionFactor); }
BasePropertyReader implements PropertyReader { @Override public CircleDimensionSet getCircleDimensionSet() { if (shape == null) { return new CircleDimensionSet(); } return new CircleDimensionSet(new Radius( shape.getBounds().getWidth() * resolutionFactor / 2d)); } BasePropertyReader(final BaseElement element,
                              final BPMNDiagram diagram,
                              final BPMNShape shape,
                              final double resolutionFactor); @Override String getDocumentation(); @Override String getDescription(); @Override FontSet getFontSet(); @Override BackgroundSet getBackgroundSet(); @Override Bounds getBounds(); @Override CircleDimensionSet getCircleDimensionSet(); @Override RectangleDimensionsSet getRectangleDimensionsSet(); @Override boolean isExpanded(); @Override BaseElement getElement(); @Override BPMNShape getShape(); }
BasePropertyReader implements PropertyReader { @Override public CircleDimensionSet getCircleDimensionSet() { if (shape == null) { return new CircleDimensionSet(); } return new CircleDimensionSet(new Radius( shape.getBounds().getWidth() * resolutionFactor / 2d)); } BasePropertyReader(final BaseElement element,
                              final BPMNDiagram diagram,
                              final BPMNShape shape,
                              final double resolutionFactor); @Override String getDocumentation(); @Override String getDescription(); @Override FontSet getFontSet(); @Override BackgroundSet getBackgroundSet(); @Override Bounds getBounds(); @Override CircleDimensionSet getCircleDimensionSet(); @Override RectangleDimensionsSet getRectangleDimensionsSet(); @Override boolean isExpanded(); @Override BaseElement getElement(); @Override BPMNShape getShape();  }