|
이 문서는 기계로 번역한 것입니다. 원본 텍스트를 보려면 포인터를 문서의 문장 위로 올리십시오. 추가 정보
|
번역
원본
|
Stroke.GetBezierStylusPoints 메서드
.NET Framework 4.5
네임스페이스: System.Windows.Ink
어셈블리: PresentationCore(PresentationCore.dll)
반환 값
형식: System.Windows.Input.StylusPointCollectionprotected override void DrawCore(DrawingContext context, DrawingAttributes overrides) { // Draw the stroke. Calling base.DrawCore accomplishes the same thing. Geometry geometry = GetGeometry(overrides); context.DrawGeometry(new SolidColorBrush(overrides.Color), null, geometry); StylusPointCollection points; // Get the stylus points used to draw the stroke. The points used depends on // the value of FitToCurve. if (this.DrawingAttributes.FitToCurve) { points = this.GetBezierStylusPoints(); } else { points = this.StylusPoints; } // Draw a circle at each stylus point. foreach (StylusPoint p in points) { context.DrawEllipse(null, new Pen(Brushes.Black, 1), (Point)p, 5, 5); } }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008(서버 코어 역할은 지원되지 않음), Windows Server 2008 R2(서버 코어 역할은 SP1 이상에서 지원, Itanium은 지원되지 않음)
.NET Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.