# VennSet

Describes a Venn set. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Class  

`ChartForgeX.VisualBlocks`

**Namespace**

`ChartForgeX.VisualBlocks`

**Assembly**

`ChartForgeX`

**Source**

[VennDiagramBlock.cs:90](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/VennDiagramBlock.cs#L90)

**Modifiers**

sealed

Describes a Venn set.

## Inheritance

- object
- VennSet

## Usage

 Explore 1 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 1

- Property [VennDiagramBlock.Sets](/api/chartforgex-visualblocks-venndiagramblock/#property-sets)

 Filter members   

    Show inherited   

 

## Constructors

 `public VennSet(string id, string label, double size)` [#](#constructor-ctor-string-string-double) 

[VennDiagramBlock.cs:90](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/VennDiagramBlock.cs#L90)

Initializes a Venn set.

Parameters

**id string required**

**label string required**

**size double required**

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from object

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

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

Inherited from object

Returns

 `string?` 

## Properties

 `public string Id { get; set; }` [#](#property-id) 

[VennDiagramBlock.cs:72](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/VennDiagramBlock.cs#L72)

Gets or sets the stable set id.

 `public string Label { get; set; }` [#](#property-label) 

[VennDiagramBlock.cs:75](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/VennDiagramBlock.cs#L75)

Gets or sets the display label.

 `public double Size { get; set; }` [#](#property-size) 

[VennDiagramBlock.cs:78](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/VennDiagramBlock.cs#L78)

Gets or sets the source size value.

 `public ChartColor? Fill { get; set; }` [#](#property-fill) 

[VennDiagramBlock.cs:81](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/VennDiagramBlock.cs#L81)

Gets or sets the optional fill color.

 `public ChartColor? Stroke { get; set; }` [#](#property-stroke) 

[VennDiagramBlock.cs:84](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/VennDiagramBlock.cs#L84)

Gets or sets the optional stroke color.

 `public double? FillOpacity { get; set; }` [#](#property-fillopacity) 

[VennDiagramBlock.cs:87](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/VennDiagramBlock.cs#L87)

Gets or sets the explicit fill opacity, from zero through one. Null retains the default set translucency.

 `public double StrokeWidth { get; set; }` [#](#property-strokewidth) 

[VennDiagramBlock.cs:90](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/VennDiagramBlock.cs#L90)

Gets or sets the outline width, in logical pixels.

 `public ChartColor? TextColor { get; set; }` [#](#property-textcolor) 

[VennDiagramBlock.cs:93](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/VennDiagramBlock.cs#L93)

Gets or sets the optional text color.

<!-- PowerForge markdown artifact sha256:A39974E920D571AEC17FA4AFE1D67C8095C8F64AD646AF949DBB57BA8FC63410 -->
