Esempio n. 1
0
        public ResizeHandles(Layer layer)
        {
            for (int i = 0; i < mHandles.Length; i++)
            {
                mHandles[i]        = new LineCircle();
                mHandles[i].Radius = RadiusAtNoZoom;
                ShapeManager.Self.Add(mHandles[i], layer);
            }

            originDisplay = new OriginDisplay(layer);

            Visible = true;
            UpdateToProperties();
        }
Esempio n. 2
0
        public ResizeHandles(Layer layer)
        {
            for (int i = 0; i < mHandles.Length; i++)
            {
                mHandles[i]          = new LineRectangle();
                mHandles[i].IsDotted = false;
                mHandles[i].Width    = WidthAtNoZoom;
                mHandles[i].Height   = WidthAtNoZoom;
                ShapeManager.Self.Add(mHandles[i], layer);

                mInnerHandles[i]          = new LineRectangle();
                mInnerHandles[i].IsDotted = false;
                mInnerHandles[i].Width    = WidthAtNoZoom - 2;
                mInnerHandles[i].Height   = WidthAtNoZoom - 2;
                mInnerHandles[i].Color    = Color.Black;
                ShapeManager.Self.Add(mInnerHandles[i], layer);
            }

            originDisplay = new OriginDisplay(layer);

            Visible = true;
            UpdateToProperties();
        }