Пример #1
0
        internal TransformNodeInfo(TransformNode transformNode)
        {
            _TransformNode = transformNode;
            _SizeBoxLines  = new RenderedPolygon[4];
            for (int i = 0; i < _SizeBoxLines.Length; i++)
            {
                _SizeBoxLines[i] = RenderedPolygon.Create();
            }

            _PositionBox = RenderedPolygon.Create();
        }
Пример #2
0
        internal TransformNodeInfo(TransformNode transformNode)
        {
            _TransformNode = transformNode;
            _SizeBoxLines  = new RenderedPolygon[4];
            for (int i = 0; i < _SizeBoxLines.Length; i++)
            {
                _SizeBoxLines[i] = RenderedPolygon.Create();
            }

            _PivotBox = RenderedPolygon.Create();

            _LeftTop     = RenderedPolygon.Create();
            _RightBottom = RenderedPolygon.Create();

            _AnchorMin = RenderedPolygon.Create();
            _AnchorMax = RenderedPolygon.Create();
        }