コード例 #1
0
        public void DrawRoundedRectangle([NotNull] Pen pen, RoundedRectangle roundedRectangle)
        {
            var roundedRectGeo = new RoundedRectangleGeometry(roundedRectangle);

            DrawGeometry(pen, roundedRectGeo);
        }
コード例 #2
0
        public void FillRoundedRectangle([NotNull] Brush brush, RoundedRectangle roundedRectangle)
        {
            var roundedRectGeo = new RoundedRectangleGeometry(roundedRectangle);

            FillGeometry(brush, roundedRectGeo);
        }