Class ShapeFactory
Represents the shape factory used by the presentation model.
Inherited Members
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class ShapeFactory
Methods
CreateShape(ShapeType, Presentation)
Handles create shape for this shape factory.
Declaration
public static AbstractShape CreateShape(ShapeType type, Presentation presentation)
Parameters
| Type | Name | Description |
|---|---|---|
| ShapeType | type | The type or mode to apply. |
| Presentation | presentation | The presentation that owns or receives the object. |
Returns
| Type | Description |
|---|---|
| AbstractShape | The newly created shape. |