C# 클래스 Core2D.Shapes.XCubicBezier

Cubic bezier shape.
상속: Core2D.Shape.BaseShape, ICubicBezier
파일 보기 프로젝트 열기: Core2D/Core2D 1 사용 예제들

공개 메소드들

메소드 설명
Create ( XPoint point1, XPoint point2, XPoint point3, XPoint point4, ShapeStyle style, BaseShape point, bool isStroked = true, bool isFilled = false, string name = "" ) : XCubicBezier

Creates a new XCubicBezier instance.

Create ( double x, double y, ShapeStyle style, BaseShape point, bool isStroked = true, bool isFilled = false, string name = "" ) : XCubicBezier

Creates a new XCubicBezier instance.

Create ( double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, ShapeStyle style, BaseShape point, bool isStroked = true, bool isFilled = false, string name = "" ) : XCubicBezier

Creates a new XCubicBezier instance.

Draw ( object dc, ShapeRenderer renderer, double dx, double dy, ImmutableArray db, XRecord r ) : void
GetPoints ( ) : IEnumerable
Move ( double dx, double dy ) : void

메소드 상세

Create() 공개 정적인 메소드

Creates a new XCubicBezier instance.
public static Create ( XPoint point1, XPoint point2, XPoint point3, XPoint point4, ShapeStyle style, BaseShape point, bool isStroked = true, bool isFilled = false, string name = "" ) : XCubicBezier
point1 XPoint The point.
point2 XPoint The point.
point3 XPoint The point.
point4 XPoint The point.
style Core2D.Style.ShapeStyle The shape style.
point Core2D.Shape.BaseShape The point template.
isStroked bool The flag indicating whether shape is stroked.
isFilled bool The flag indicating whether shape is filled.
name string The shape name.
리턴 XCubicBezier

Create() 공개 정적인 메소드

Creates a new XCubicBezier instance.
public static Create ( double x, double y, ShapeStyle style, BaseShape point, bool isStroked = true, bool isFilled = false, string name = "" ) : XCubicBezier
x double The X coordinate of , , and points.
y double The Y coordinate of , , and points.
style Core2D.Style.ShapeStyle The shape style.
point Core2D.Shape.BaseShape The point template.
isStroked bool The flag indicating whether shape is stroked.
isFilled bool The flag indicating whether shape is filled.
name string The shape name.
리턴 XCubicBezier

Create() 공개 정적인 메소드

Creates a new XCubicBezier instance.
public static Create ( double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, ShapeStyle style, BaseShape point, bool isStroked = true, bool isFilled = false, string name = "" ) : XCubicBezier
x1 double The X coordinate of point.
y1 double The Y coordinate of point.
x2 double The X coordinate of point.
y2 double The Y coordinate of point.
x3 double The X coordinate of point.
y3 double The Y coordinate of point.
x4 double The X coordinate of point.
y4 double The Y coordinate of point.
style Core2D.Style.ShapeStyle The shape style.
point Core2D.Shape.BaseShape The point template.
isStroked bool The flag indicating whether shape is stroked.
isFilled bool The flag indicating whether shape is filled.
name string The shape name.
리턴 XCubicBezier

Draw() 공개 메소드

public Draw ( object dc, ShapeRenderer renderer, double dx, double dy, ImmutableArray db, XRecord r ) : void
dc object
renderer Core2D.Renderer.ShapeRenderer
dx double
dy double
db ImmutableArray
r Core2D.Data.Database.XRecord
리턴 void

GetPoints() 공개 메소드

public GetPoints ( ) : IEnumerable
리턴 IEnumerable

Move() 공개 메소드

public Move ( double dx, double dy ) : void
dx double
dy double
리턴 void