ShapeDescription.Create(String, DiagramControlStringId, Func<Size>, ShapeGetter, ShapeConnectionPointsGetter, EditorBoundsGetter, DiagramItemStyleId, Boolean, Boolean) Method
Namespace: DevExpress.Diagram.Core
Assembly: DevExpress.Diagram.v24.1.Core.dll
NuGet Package: DevExpress.Diagram.Core
Declaration
public static ShapeDescription Create(
string id,
DiagramControlStringId stringId,
Func<Size> getDefaultSize,
ShapeGetter getShape,
ShapeConnectionPointsGetter getConnectionPoints,
EditorBoundsGetter getEditorBounds,
DiagramItemStyleId styleId = null,
bool isQuick = false,
bool useBackgroundAsForeground = false
)
Parameters
Name | Type |
---|---|
id | String |
stringId | DevExpress.Diagram.Core.Localization.DiagramControlStringId |
getDefaultSize | Func<Size> |
getShape | DevExpress.Diagram.Core.ShapeGetter |
getConnectionPoints | DevExpress.Diagram.Core.ShapeConnectionPointsGetter |
getEditorBounds | DevExpress.Diagram.Core.EditorBoundsGetter |
Optional Parameters
Name | Type | Default |
---|---|---|
styleId | DevExpress.Diagram.Core.DiagramItemStyleId | null |
isQuick | Boolean | False |
useBackgroundAsForeground | Boolean | False |
Returns
Type |
---|
ShapeDescription |
See Also