VennStyle Class
The style of an area or of a text of a VennDiagram (Mermaid style). A null property keeps the default.
public sealed class VennStyle : IEquatable<VennStyle>- Implements
Constructors
| Name | Description |
|---|---|
| VennStyle() |
VennStyle()
public VennStyle()No documentation is available.
Properties
| Name | Description |
|---|---|
| Fill | Gets the fill: the color of a circle, or the fill of an overlap, which is otherwise transparent (CSS fill). |
| FillOpacity | Gets the opacity of the fill of a circle, from 0 to 1 (CSS fill-opacity). The default is 0.1. |
| IsEmpty | Gets a value indicating whether no property is set. |
| Stroke | Gets the color of the outline of a circle (CSS stroke). The default is its fill. |
| StrokeWidth | Gets the width of the outline of a circle (CSS stroke-width). |
| TextColor | Gets the color of the label of an area, or of a text (CSS color). |
Fill
VennStyle.csGets the fill: the color of a circle, or the fill of an overlap, which is otherwise transparent (CSS fill).
public SceneColor? Fill { get; init; }Property value
FillOpacity
VennStyle.csIsEmpty
VennStyle.csStroke
VennStyle.csGets the color of the outline of a circle (CSS stroke). The default is its fill.
public SceneColor? Stroke { get; init; }Property value
StrokeWidth
VennStyle.csTextColor
VennStyle.csGets the color of the label of an area, or of a text (CSS color).
public SceneColor? TextColor { get; init; }Property value
Methods
| Name | Description |
|---|---|
| Equals(VennStyle?) | |
| Equals(object?) | |
| GetHashCode() | |
| Merge(VennStyle?) | Returns this style, with the properties that another style sets replaced. |
| ToString() |
Equals overloads
Equals(VennStyle?)
No documentation is available.
Equals(object?)
GetHashCode()
Merge(VennStyle?)
VennStyle.csReturns this style, with the properties that another style sets replaced.
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(VennStyle?, VennStyle?) | |
| operator !=(VennStyle?, VennStyle?) |
operator ==(VennStyle?, VennStyle?)
No documentation is available.
operator !=(VennStyle?, VennStyle?)
No documentation is available.