C# 클래스 Smrf.WpfGraphicsLib.WpfPathGeometryUtil

Utility methods for working with WPF PathGeometry objects.
All methods are static.
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

공개 프로퍼티들

프로퍼티 타입 설명
SqrtOf2 Double

공개 메소드들

메소드 설명
GetCircleSegment ( Point center, Double radius, Double angleRadians ) : System.Windows.Media.PathGeometry
GetCurveThroughPoints ( IList points, Double tension, Double tolerance ) : System.Windows.Media.PathGeometry
GetDiamond ( System center, Double halfWidth ) : System.Windows.Media.PathGeometry
GetPathGeometryFromPoints ( System startPoint ) : System.Windows.Media.PathGeometry
GetQuadraticBezierCurve ( Point startPoint, Point endPoint, Point controlPoint ) : System.Windows.Media.PathGeometry
GetRoundedX ( Point center, Double halfWidth ) : System.Windows.Media.PathGeometry
GetTaperedDiamond ( Point center, Double halfWidth ) : System.Windows.Media.PathGeometry
GetTriangle ( System center, Double halfWidth ) : System.Windows.Media.PathGeometry
ReverseQuadraticBezierCurve ( System.Windows.Media.PathGeometry quadraticBezierCurve ) : System.Windows.Media.PathGeometry

비공개 메소드들

메소드 설명
AddPointsToPolyLineSegment ( System.Windows.Media.PolyLineSegment oPolyLineSegment, Point oPoint0, Point oPoint1, Point oPoint2, Point oPoint3, Double dTension, Double dTolerance ) : void
GetPathGeometryFromPathSegments ( Point oStartPoint, System.Boolean bPathFigureIsFilled ) : System.Windows.Media.PathGeometry

메소드 상세

GetCircleSegment() 공개 정적인 메소드

public static GetCircleSegment ( Point center, Double radius, Double angleRadians ) : System.Windows.Media.PathGeometry
center Point
radius Double
angleRadians Double
리턴 System.Windows.Media.PathGeometry

GetCurveThroughPoints() 공개 정적인 메소드

public static GetCurveThroughPoints ( IList points, Double tension, Double tolerance ) : System.Windows.Media.PathGeometry
points IList
tension Double
tolerance Double
리턴 System.Windows.Media.PathGeometry

GetDiamond() 공개 정적인 메소드

public static GetDiamond ( System center, Double halfWidth ) : System.Windows.Media.PathGeometry
center System
halfWidth Double
리턴 System.Windows.Media.PathGeometry

GetPathGeometryFromPoints() 공개 정적인 메소드

public static GetPathGeometryFromPoints ( System startPoint ) : System.Windows.Media.PathGeometry
startPoint System
리턴 System.Windows.Media.PathGeometry

GetQuadraticBezierCurve() 공개 정적인 메소드

public static GetQuadraticBezierCurve ( Point startPoint, Point endPoint, Point controlPoint ) : System.Windows.Media.PathGeometry
startPoint Point
endPoint Point
controlPoint Point
리턴 System.Windows.Media.PathGeometry

GetRoundedX() 공개 정적인 메소드

public static GetRoundedX ( Point center, Double halfWidth ) : System.Windows.Media.PathGeometry
center Point
halfWidth Double
리턴 System.Windows.Media.PathGeometry

GetTaperedDiamond() 공개 정적인 메소드

public static GetTaperedDiamond ( Point center, Double halfWidth ) : System.Windows.Media.PathGeometry
center Point
halfWidth Double
리턴 System.Windows.Media.PathGeometry

GetTriangle() 공개 정적인 메소드

public static GetTriangle ( System center, Double halfWidth ) : System.Windows.Media.PathGeometry
center System
halfWidth Double
리턴 System.Windows.Media.PathGeometry

ReverseQuadraticBezierCurve() 공개 정적인 메소드

public static ReverseQuadraticBezierCurve ( System.Windows.Media.PathGeometry quadraticBezierCurve ) : System.Windows.Media.PathGeometry
quadraticBezierCurve System.Windows.Media.PathGeometry
리턴 System.Windows.Media.PathGeometry

프로퍼티 상세

SqrtOf2 공개적으로 정적으로 프로퍼티

public static Double SqrtOf2
리턴 Double