| | |
| | | } |
| | | |
| | | #region ElementBase |
| | | public override void Calculate(Bitmap image) |
| | | { |
| | | } |
| | | |
| | | public override void Calculate(IntPtr imagePtr, int ptrSize, int imageWidth, int imageHeight) |
| | | { |
| | | } |
| | | |
| | | public override void Calculate(string imagePath) |
| | | { |
| | | } |
| | | |
| | | public override void CalculateBaseRectangle() |
| | | { |
| | | } |
| | | |
| | | public override object Clone() |
| | | { |
| | |
| | | g.DrawLine(Pen, (float)Center.X - Radius, (float)Center.Y, (float)Center.X + Radius, (float)Center.Y); |
| | | |
| | | string info = GetDisplayText(); |
| | | g.DrawString(info, new Font("NewRoman", FontSize), new SolidBrush(Pen.Color), new PointF((float)Center.X - Radius - FontDistance, (float)Center.Y - Radius - FontDistance)); |
| | | g.DrawString(info, Font, new SolidBrush(Pen.Color), new PointF((float)Center.X - Radius - FontDistance, (float)Center.Y - Radius - FontDistance)); |
| | | } |
| | | |
| | | public override string GetDisplayText() |