C# Class Core2D.Editor.Factories.ProjectFactory

Factory used to create new projects, documents and containers.
Inheritance: IProjectFactory
ファイルを表示 Open project: Core2D/Core2D

Public Methods

Method Description
DefaultStyleLibrary ( ) : XLibrary

Creates a new instance of the XLibrary{ShapeStyle} class.

LinesStyleLibrary ( ) : XLibrary

Creates a new instance of the XLibrary{ShapeStyle} class.

TemplateStyleLibrary ( ) : XLibrary

Creates a new instance of the XLibrary{ShapeStyle} class.

Private Methods

Method Description
CreateGridTemplate ( IProjectFactory factory, XProject project, string name ) : XContainer

Creates a new instance of the XContainer class.

IProjectFactory ( XProject project, string name ) : XContainer
IProjectFactory ( XProject project, string name ) : XDocument
IProjectFactory ( ) : XProject

Method Details

DefaultStyleLibrary() public static method

Creates a new instance of the XLibrary{ShapeStyle} class.
public static DefaultStyleLibrary ( ) : XLibrary
return XLibrary

LinesStyleLibrary() public static method

Creates a new instance of the XLibrary{ShapeStyle} class.
public static LinesStyleLibrary ( ) : XLibrary
return XLibrary

TemplateStyleLibrary() public static method

Creates a new instance of the XLibrary{ShapeStyle} class.
public static TemplateStyleLibrary ( ) : XLibrary
return XLibrary