# BlockLayoutShape

Identifies the preferred block layout item shape.

 Enum  

`ChartForgeX.VisualBlocks`

**Namespace**

`ChartForgeX.VisualBlocks`

**Assembly**

`ChartForgeX`

**Source**

[BlockLayoutBlock.cs:130](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L130)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Identifies the preferred block layout item shape.

## Inheritance

- Enum
- BlockLayoutShape

## Usage

 Explore 20 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 17

- Property [MermaidBlockItem.Shape](/api/chartforgex-mermaid-mermaidblockitem/#property-shape)
- Property [BlockLayoutItem.Shape](/api/chartforgex-visualblocks-blocklayoutitem/#property-shape)
- Field [BlockLayoutShape.Arrow](/api/chartforgex-visualblocks-blocklayoutshape/#field-arrow)
- Field [BlockLayoutShape.Asymmetric](/api/chartforgex-visualblocks-blocklayoutshape/#field-asymmetric)
- Field [BlockLayoutShape.Circle](/api/chartforgex-visualblocks-blocklayoutshape/#field-circle)
- Field [BlockLayoutShape.Database](/api/chartforgex-visualblocks-blocklayoutshape/#field-database)
- Field [BlockLayoutShape.Diamond](/api/chartforgex-visualblocks-blocklayoutshape/#field-diamond)
- Field [BlockLayoutShape.DoubleCircle](/api/chartforgex-visualblocks-blocklayoutshape/#field-doublecircle)
- Field [BlockLayoutShape.Hexagon](/api/chartforgex-visualblocks-blocklayoutshape/#field-hexagon)
- Field [BlockLayoutShape.Parallelogram](/api/chartforgex-visualblocks-blocklayoutshape/#field-parallelogram)
- Field [BlockLayoutShape.ParallelogramAlt](/api/chartforgex-visualblocks-blocklayoutshape/#field-parallelogramalt)
- Field [BlockLayoutShape.Rectangle](/api/chartforgex-visualblocks-blocklayoutshape/#field-rectangle)
- Field [BlockLayoutShape.Rounded](/api/chartforgex-visualblocks-blocklayoutshape/#field-rounded)
- Field [BlockLayoutShape.Stadium](/api/chartforgex-visualblocks-blocklayoutshape/#field-stadium)
- Field [BlockLayoutShape.Subroutine](/api/chartforgex-visualblocks-blocklayoutshape/#field-subroutine)
- Field [BlockLayoutShape.Trapezoid](/api/chartforgex-visualblocks-blocklayoutshape/#field-trapezoid)
- Field [BlockLayoutShape.TrapezoidAlt](/api/chartforgex-visualblocks-blocklayoutshape/#field-trapezoidalt)

### Accepted by parameters 3

- Constructor [MermaidBlockItem.MermaidBlockItem](/api/chartforgex-mermaid-mermaidblockitem/#constructor-ctor-string-string-int32-chartforgex-visualblocks-blocklayoutshape-boolean-chartforgex-mermaid-mermaidsourcespan) parameter `shape`
- Method [BlockLayoutBlock.AddItem](/api/chartforgex-visualblocks-blocklayoutblock/#method-additem-string-string-int32-chartforgex-visualblocks-blocklayoutshape) parameter `shape`
- Constructor [BlockLayoutItem.BlockLayoutItem](/api/chartforgex-visualblocks-blocklayoutitem/#constructor-ctor-string-string-int32-chartforgex-visualblocks-blocklayoutshape-boolean) parameter `shape`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from Enum

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

 `public override string ToString()` [#](#method-tostring) 

Inherited from Enum

Returns

 `string` 

 `public string ToString(string? format)` [#](#method-tostring-string) 

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const BlockLayoutShape Rectangle` [#](#field-rectangle) 

[BlockLayoutBlock.cs:132](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L132)

A rectangular block.

Value: `0`

 `public const BlockLayoutShape Rounded` [#](#field-rounded) 

[BlockLayoutBlock.cs:134](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L134)

A rounded rectangle block.

Value: `1`

 `public const BlockLayoutShape Circle` [#](#field-circle) 

[BlockLayoutBlock.cs:136](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L136)

A circular or pill-like block, depending on available space.

Value: `2`

 `public const BlockLayoutShape Database` [#](#field-database) 

[BlockLayoutBlock.cs:138](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L138)

A database/cylinder-like block.

Value: `3`

 `public const BlockLayoutShape Diamond` [#](#field-diamond) 

[BlockLayoutBlock.cs:140](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L140)

A diamond decision surface.

Value: `4`

 `public const BlockLayoutShape Hexagon` [#](#field-hexagon) 

[BlockLayoutBlock.cs:142](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L142)

A hexagonal surface.

Value: `5`

 `public const BlockLayoutShape Stadium` [#](#field-stadium) 

[BlockLayoutBlock.cs:144](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L144)

A capsule with semicircular ends.

Value: `6`

 `public const BlockLayoutShape Subroutine` [#](#field-subroutine) 

[BlockLayoutBlock.cs:146](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L146)

A rectangle with inner vertical rules.

Value: `7`

 `public const BlockLayoutShape DoubleCircle` [#](#field-doublecircle) 

[BlockLayoutBlock.cs:148](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L148)

A circle with a second inset outline.

Value: `8`

 `public const BlockLayoutShape Parallelogram` [#](#field-parallelogram) 

[BlockLayoutBlock.cs:150](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L150)

A right-leaning parallelogram.

Value: `9`

 `public const BlockLayoutShape ParallelogramAlt` [#](#field-parallelogramalt) 

[BlockLayoutBlock.cs:152](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L152)

A left-leaning parallelogram.

Value: `10`

 `public const BlockLayoutShape Trapezoid` [#](#field-trapezoid) 

[BlockLayoutBlock.cs:154](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L154)

A trapezoid with its narrower edge above.

Value: `11`

 `public const BlockLayoutShape TrapezoidAlt` [#](#field-trapezoidalt) 

[BlockLayoutBlock.cs:156](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L156)

A trapezoid with its narrower edge below.

Value: `12`

 `public const BlockLayoutShape Asymmetric` [#](#field-asymmetric) 

[BlockLayoutBlock.cs:158](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L158)

An asymmetric chevron surface.

Value: `13`

 `public const BlockLayoutShape Arrow` [#](#field-arrow) 

[BlockLayoutBlock.cs:160](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L160)

A filled directional block arrow.

Value: `14`

<!-- PowerForge markdown artifact sha256:66443E14FC703A8AD14000EE225DD4983390312D287CA66E6DD7F58E87AB73CB -->
