API Reference
Class
VennDiagramBlock
A deterministic static Venn diagram for one to three sets.
Inheritance
- VisualBlock<VennDiagramBlock>
- VennDiagramBlock
Usage
Explore 15 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 15
- Extension method MermaidVennDocument.ToVennDiagramBlock
- Method MermaidVennRendering.ToVennDiagramBlock
- Method VennDiagramBlock.AddIntersection
- Method VennDiagramBlock.AddSet
- Method VennDiagramBlock.AddText
- Method VennDiagramBlock.Create
- Method VennDiagramBlock.WithCard
- Method VennDiagramBlock.WithHostFrame
- Method VennDiagramBlock.WithPadding
- Method VennDiagramBlock.WithPngOutputScale
- Method VennDiagramBlock.WithSize
- Method VennDiagramBlock.WithSubtitle
- Method VennDiagramBlock.WithTheme
- Method VennDiagramBlock.WithTitle
- Method VennDiagramBlock.WithTransparentBackground
Constructors
public VennDiagramBlock() #Methods
public VennDiagramBlock AddIntersection(IEnumerable<String> setIds, String? label = null, Double size = 1) #Returns:
VennDiagramBlockAdds an intersection between two or three sets.
Parameters
- setIds System.Collections.Generic.IEnumerable<System.String>
- label System.String? = null
- size System.Double = 1
public VennDiagramBlock AddSet(String id, String? label = null, Double size = 10) #Returns:
VennDiagramBlockAdds a Venn set.
Parameters
- id System.String
- label System.String? = null
- size System.Double = 10
public VennDiagramBlock AddText(IEnumerable<String> setIds, String id, String? label = null) #Returns:
VennDiagramBlockAdds an extra text label for a set or intersection.
Parameters
- setIds System.Collections.Generic.IEnumerable<System.String>
- id System.String
- label System.String? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
public virtual RgbaImage RenderRgba() #Returns:
RgbaImageInherited from 0, Culture=neutral, PublicKeyToken=null]]
public virtual String RenderSvg(String idScope) #Returns:
StringInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- idScope String
public VennDiagramBlock WithCard(Boolean enabled = true) #Returns:
VennDiagramBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- enabled Boolean = true
public VennDiagramBlock WithHostFrame(Boolean hostOwnsFrame = true) #Returns:
VennDiagramBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- hostOwnsFrame Boolean = true
WithPadding 2 overloads
public VennDiagramBlock WithPadding(Double padding) #Returns:
VennDiagramBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- padding Double
public VennDiagramBlock WithPadding(Double left, Double top, Double right, Double bottom) #Returns:
VennDiagramBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- left Double
- top Double
- right Double
- bottom Double
public VennDiagramBlock WithPngOutputScale(Int32 scale) #Returns:
VennDiagramBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- scale Int32
public VennDiagramBlock WithSize(Int32 width, Int32 height) #Returns:
VennDiagramBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- width Int32
- height Int32
public VennDiagramBlock WithSubtitle(String subtitle) #Returns:
VennDiagramBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- subtitle String
public VennDiagramBlock WithTheme(ChartTheme theme) #Returns:
VennDiagramBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- theme ChartTheme
public VennDiagramBlock WithTitle(String title) #Returns:
VennDiagramBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- title String
public VennDiagramBlock WithTransparentBackground(Boolean enabled = true) #Returns:
VennDiagramBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- enabled Boolean = true
Properties
public IReadOnlyList<VennSet> Sets { get; } #Gets Venn sets in source/render order.
public IReadOnlyList<VennIntersection> Intersections { get; } #Gets declared set intersections.
public IReadOnlyList<VennTextNode> TextNodes { get; } #Gets free-form labels attached to sets or intersections.
public override String AccessibleName { get; } #Gets a concise accessibility label.