Esempio n. 1
0
        public override void Draw(Graphics graphics)
        {
            if (Visible)
            {
                SetDrawerGraphic(graphics);

                positionSetDrawerPump.ResetPump();
                positionSetDrawerPump.DrawCoordinate(polygonPointCoordinateDrawer);
                positionSetDrawerPump.DrawLineClose(polygonLineDrawer);
                positionSetDrawerPump.DrawPoint(polygonPointDrawer);
                positionSetDrawerPump.Run();
            }
        }
Esempio n. 2
0
        public override void Draw(Graphics graphics)
        {
            if (Visible)
            {
                SetDrawerGraphic(graphics);

                positionSetDrawerPump.ResetPump();
                positionSetDrawerPump.DrawPoint(hullPointDrawer);
                positionSetDrawerPump.DrawCoordinate(hullPointCoordinateDrawer);
                positionSetDrawerPump.DrawLineClose(hullLineDrawer);
                if (fillColor)
                {
                    positionSetDrawerPump.FillPloygon(polygonDrawer);
                }
                positionSetDrawerPump.Run();
            }
        }