C# Class Core2D.Editor.Factories.ShapeFactory

Factory used to create shapes.
Inheritance: IShapeFactory
显示文件 Open project: Core2D/Core2D

Public Methods

Method Description
ShapeFactory ( ProjectEditor editor ) : System.Collections.Immutable

Initializes a new instance of the ShapeFactory class.

Private Methods

Method Description
IShapeFactory ( XPoint point1, XPoint point2, XPoint point3, XPoint point4, bool isStroked, bool isFilled ) : XArc
IShapeFactory ( double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, bool isStroked, bool isFilled ) : XArc
IShapeFactory ( XPoint point1, XPoint point2, XPoint point3, XPoint point4, bool isStroked, bool isFilled ) : XCubicBezier
IShapeFactory ( double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, bool isStroked, bool isFilled ) : XCubicBezier
IShapeFactory ( XPoint topLeft, XPoint bottomRight, bool isStroked, bool isFilled, string text ) : XEllipse
IShapeFactory ( double x1, double y1, double x2, double y2, bool isStroked, bool isFilled, string text ) : XEllipse
IShapeFactory ( string path, XPoint topLeft, XPoint bottomRight, bool isStroked, bool isFilled, string text ) : XImage
IShapeFactory ( string path, double x1, double y1, double x2, double y2, bool isStroked, bool isFilled, string text ) : XImage
IShapeFactory ( XPoint start, XPoint end, bool isStroked ) : XLine
IShapeFactory ( double x1, double y1, double x2, double y2, bool isStroked ) : XLine
IShapeFactory ( XPathGeometry geometry, bool isStroked, bool isFilled ) : XPath
IShapeFactory ( XFillRule fillRule ) : XPathGeometry
IShapeFactory ( double x, double y, bool isStandalone ) : XPoint
IShapeFactory ( XPoint point1, XPoint point2, XPoint point3, bool isStroked, bool isFilled ) : XQuadraticBezier
IShapeFactory ( double x1, double y1, double x2, double y2, double x3, double y3, bool isStroked, bool isFilled ) : XQuadraticBezier
IShapeFactory ( XPoint topLeft, XPoint bottomRight, bool isStroked, bool isFilled, string text ) : XRectangle
IShapeFactory ( double x1, double y1, double x2, double y2, bool isStroked, bool isFilled, string text ) : XRectangle
IShapeFactory ( XPoint topLeft, XPoint bottomRight, string text, bool isStroked ) : XText
IShapeFactory ( double x1, double y1, double x2, double y2, string text, bool isStroked ) : XText

Method Details

ShapeFactory() public method

Initializes a new instance of the ShapeFactory class.
public ShapeFactory ( ProjectEditor editor ) : System.Collections.Immutable
editor ProjectEditor The current instance.
return System.Collections.Immutable