C# 클래스 Core2D.Shapes.XPath

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

공개 메소드들

메소드 설명
Create ( string name, ShapeStyle style, XPathGeometry geometry, bool isStroked = true, bool isFilled = true ) : XPath

Creates a new XPath 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 XPath instance.
public static Create ( string name, ShapeStyle style, XPathGeometry geometry, bool isStroked = true, bool isFilled = true ) : XPath
name string The shape name.
style Core2D.Style.ShapeStyle The shape style.
geometry Core2D.Path.XPathGeometry The path geometry.
isStroked bool The flag indicating whether shape is stroked.
isFilled bool The flag indicating whether shape is filled.
리턴 XPath

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