C# Class Core2D.Shapes.XPath

Path shape.
Inheritance: Core2D.Shape.BaseShape
Afficher le fichier Open project: Core2D/Core2D Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

Create() public static méthode

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.
Résultat XPath

Draw() public méthode

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
Résultat void

GetPoints() public méthode

public GetPoints ( ) : IEnumerable
Résultat IEnumerable

Move() public méthode

public Move ( double dx, double dy ) : void
dx double
dy double
Résultat void