C# Class Core2D.Editor.Factories.ProjectFactory

Factory used to create new projects, documents and containers.
Inheritance: IProjectFactory
Afficher le fichier Open project: Core2D/Core2D

Méthodes publiques

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

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

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

LinesStyleLibrary() public static méthode

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

TemplateStyleLibrary() public static méthode

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