Ejemplo n.º 1
0
        private void AddMinorTick(double minorTickAngle)
        {
            string minorTickPathString = string.Format("M 0,0 L{0},0 L{1},{2} L0,{3}Z", MinorTickSize.Width, MinorTickSize.Width, MinorTickSize.Height, MinorTickSize.Height);
            Path   minorTickPath       = GraphicsPloter.DrawGeometry(minorTickPathString);

            minorTickPath.Fill = MinorTickForeground;

            AddTick(minorTickPath, minorTickAngle);
        }
Ejemplo n.º 2
0
        private void AddMajorTick(double majorTickAngle)
        {
            double majorTickRadian     = majorTickAngle * Math.PI / 180;
            string majorTickPathString = string.Format("M 0,0 L{0},0 L{1},{2} L0,{3}Z", MajorTickSize.Width, MajorTickSize.Width, MajorTickSize.Height, MajorTickSize.Height);

            Path majorTickPath = GraphicsPloter.DrawGeometry(majorTickPathString);

            majorTickPath.Fill = MajorTickForeground;

            AddTick(majorTickPath, majorTickAngle);
        }