public CircularRuler(PointF center, float radius) : base() { // define the selection area mSelectionArea = new Tools.Circle(center, radius); // update the display area updateDisplayDataAndMesurementImage(); }
/// <summary> /// this parameter less constructor is requested for the serialization, but should not /// be used by the program /// </summary> public CircularRuler() { // instanciate an empty area mSelectionArea = new Tools.Circle(new PointF(0.0f, 0.0f), 0.0f); }
/// <summary> /// Copy constructor /// </summary> /// <param name="model">the model from which copy</param> public Circle(Circle model) { this.mCenter = model.Center; this.mRadius = model.Radius; }