C# 클래스 ImageMagick.PathSmoothCurveToRel

Draws a cubic Bezier curve from the current point to (x,y) using relative coordinates. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an PathCurveToAbs, PathCurveToRel, PathSmoothCurveToAbs or PathSmoothCurveToRel, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.
상속: IPath
파일 보기 프로젝트 열기: dlemstra/Magick.NET

공개 메소드들

메소드 설명
PathSmoothCurveToRel ( PointD controlPoint, PointD end )

Initializes a new instance of the PathSmoothCurveToRel class.

PathSmoothCurveToRel ( double x2, double y2, double x, double y )

Initializes a new instance of the PathSmoothCurveToRel class.

비공개 메소드들

메소드 설명
IPath ( IDrawingWand wand ) : void

Draws this instance with the drawing wand.

메소드 상세

PathSmoothCurveToRel() 공개 메소드

Initializes a new instance of the PathSmoothCurveToRel class.
public PathSmoothCurveToRel ( PointD controlPoint, PointD end )
controlPoint PointD Coordinate of second point
end PointD Coordinate of final point

PathSmoothCurveToRel() 공개 메소드

Initializes a new instance of the PathSmoothCurveToRel class.
public PathSmoothCurveToRel ( double x2, double y2, double x, double y )
x2 double X coordinate of second point
y2 double Y coordinate of second point
x double X coordinate of final point
y double Y coordinate of final point