프로젝트

일반

사용자정보

개정판 91efe37a

ID91efe37a3e77ce6c2dcbf9b588a9731060346c4d
상위 bbccdd30
하위 077896be

백흠경이(가) 5년 이상 전에 추가함

issue #534: Add ItemRect property to all of controls

Change-Id: Id0d640b9fd9959615758b5e55b499f97d6f38dae

차이점 보기:

MarkupToPDF/Controls/Text/ArrowTextControl.cs
1848 1848
        }
1849 1849

  
1850 1850
        /// <summary>
1851
        /// return ArrowTextControl's area
1852
        /// </summary>
1853
        /// <author>humkyung</author>
1854
        /// <date>2019.06.13</date>
1855
        public override Rect ItemRect
1856
        {
1857
            get
1858
            {
1859
                double dMinX = Math.Min(this.StartPoint.X, this.EndPoint.X);
1860
                double dMinY = Math.Min(this.StartPoint.Y, this.EndPoint.Y);
1861
                double dMaxX = Math.Max(this.StartPoint.X, this.EndPoint.X);
1862
                double dMaxY = Math.Max(this.StartPoint.Y, this.EndPoint.Y);
1863

  
1864
                return new Rect(new Point(dMinX, dMinY), new Point(dMaxX, dMaxY));
1865
            }
1866
        }
1867

  
1868
        /// <summary>
1851 1869
        /// Serialize this
1852 1870
        /// </summary>
1853 1871
        /// <param name="sUserId"></param>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)