C# Class Factories.DrawableFactory

Afficher le fichier Open project: homoluden/fukami Class Usage Examples

Méthodes publiques

Méthode Description
GetOrCreateColoredPolygonDrawable ( ColoredPolygon polygon, ShapeType shapeType = ShapeType.Mesh ) : ColoredPolygonDrawable
GetOrCreatePolygonDrawable ( Polygon polygon ) : PolygonDrawable

Private Methods

Méthode Description
DrawableFactory ( ) : System

Method Details

GetOrCreateColoredPolygonDrawable() public static méthode

public static GetOrCreateColoredPolygonDrawable ( ColoredPolygon polygon, ShapeType shapeType = ShapeType.Mesh ) : ColoredPolygonDrawable
polygon Shapes.Abstract.ColoredPolygon
shapeType ShapeType
Résultat Drawables.ColoredPolygonDrawable

GetOrCreatePolygonDrawable() public static méthode

public static GetOrCreatePolygonDrawable ( Polygon polygon ) : PolygonDrawable
polygon Shapes.Abstract.Polygon
Résultat Drawables.PolygonDrawable