public Marker getPolylineMarkerStart(int ROIIndex, int shapeIndex) { // Parents: None // MarkerStart is not a reference return ((Polyline)root.getROI(ROIIndex).getUnion().getShape(shapeIndex)).getMarkerStart(); }
public Marker getPolylineMarkerStart(int ROIIndex, int shapeIndex) { // Parents: None // MarkerStart is not a reference return ((Polyline)root.getROI(ROIIndex).getUnion().getShape(shapeIndex)).getMarkerStart(); }
@Test (groups = {"11-06-u-roi"}, dependsOnMethods = {"testROI2AndUnion"}) public void testShape6() { Assert.assertNotNull(union2); shape6 = union2.getShape(6); Assert.assertEquals(Polyline.class.getName(), shape6.getClass().getName()); Polyline polyline6 = (Polyline) shape6; Assert.assertEquals(ref.ROI2Shape6Stroke, polyline6.getStrokeColor()); Assert.assertEquals(ref.ROI2Shape6StrokeWidth, polyline6.getStrokeWidth()); Assert.assertEquals(ref.ROI2Shape6PolylinePoints, polyline6.getPoints()); Assert.assertEquals(ref.ROI2Shape6MarkerStart, polyline6.getMarkerStart()); }
@Test (groups = {"11-06-u-roi"}, dependsOnMethods = {"testROI2AndUnion"}) public void testShape5() { Assert.assertNotNull(union2); shape5 = union2.getShape(5); Assert.assertEquals(Polyline.class.getName(), shape5.getClass().getName()); Polyline polyline5 = (Polyline) shape5; Assert.assertEquals(ref.ROI2Shape5Stroke, polyline5.getStrokeColor()); Assert.assertEquals(ref.ROI2Shape5StrokeWidth, polyline5.getStrokeWidth()); Assert.assertEquals(ref.ROI2Shape5PolylinePoints, polyline5.getPoints()); Assert.assertEquals(ref.ROI2Shape5MarkerStart, polyline5.getMarkerStart()); Assert.assertEquals(ref.ROI2Shape5MarkerEnd, polyline5.getMarkerEnd()); }