Skip to content
ChartForgeX
Class

VennDiagramBlockFluent

ChartForgeX.VisualBlocks

Namespace
ChartForgeX.VisualBlocks
Assembly
ChartForgeX
Modifiers
static

The fluent methods of VennDiagramBlock, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • VennDiagramBlockFluent

Methods

public static VennDiagramBlock Accessibility(VennDiagramBlock vennDiagramBlock, Action<VisualAccessibility> configure) #

Configures VisualBlockOptions.Accessibility in place: Gets the text alternative, language, and decorative metadata used by static exports.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
configure System.Action<ChartForgeX.Accessibility.VisualAccessibility> required
Configures the value.

Returns

VennDiagramBlock The same instance.
public static VennDiagramBlock HostOwnsFrame(VennDiagramBlock vennDiagramBlock, bool value = true) #

Sets VisualBlockOptions.HostOwnsFrame: Gets or sets whether the host owns the frame, removing the surface and outer padding.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

VennDiagramBlock The same instance.

Examples

// C# initializer or property                                                                                                                         // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.HostOwnsFrame = value;    vennDiagramBlock.HostOwnsFrame(value);
public static VennDiagramBlock Options(VennDiagramBlock vennDiagramBlock, Action<VisualBlockOptions> configure) #

Configures VisualBlock<VennDiagramBlock>.Options in place: Gets shared rendering options.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions> required
Configures the value.

Returns

VennDiagramBlock The same instance.
public static VennDiagramBlock Padding(VennDiagramBlock vennDiagramBlock, ChartPadding value) #

Sets VisualBlockOptions.Padding: Gets or sets the inner content padding.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
value ChartForgeX.Primitives.ChartPadding required
The value.

Returns

VennDiagramBlock The same instance.

Examples

// C# initializer or property                                                                                                                   // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.Padding = value;    vennDiagramBlock.Padding(value);
public static VennDiagramBlock RasterScale(VennDiagramBlock vennDiagramBlock, int value) #

Sets VisualBlockOptions.RasterScale: Gets or sets the output pixel multiplier used by PNG exports.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
value int required
The value.

Returns

VennDiagramBlock The same instance.

Examples

// C# initializer or property                                                                                                                       // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.RasterScale = value;    vennDiagramBlock.RasterScale(value);
public static VennDiagramBlock ShowCard(VennDiagramBlock vennDiagramBlock, bool value = true) #

Sets VisualBlockOptions.ShowCard: Gets or sets whether the outer card surface should be rendered.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

VennDiagramBlock The same instance.

Examples

// C# initializer or property                                                                                                                    // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.ShowCard = value;    vennDiagramBlock.ShowCard(value);
public static VennDiagramBlock Size(VennDiagramBlock vennDiagramBlock, ChartSize value) #

Sets VisualBlockOptions.Size: Gets or sets the rendered block size in pixels.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
value ChartForgeX.Primitives.ChartSize required
The value.

Returns

VennDiagramBlock The same instance.

Examples

// C# initializer or property                                                                                                                // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.Size = value;    vennDiagramBlock.Size(value);
public static VennDiagramBlock Subtitle(VennDiagramBlock vennDiagramBlock, string value) #

Sets VisualBlock<VennDiagramBlock>.Subtitle: Gets or sets the block subtitle.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
value string required
The value.

Returns

VennDiagramBlock The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.VisualBlocks.VennDiagramBlock { Subtitle = value };    vennDiagramBlock.Subtitle(value);
public static VennDiagramBlock SvgColorVariables(VennDiagramBlock vennDiagramBlock, SvgColorVariables? value) #

Sets VisualBlockOptions.SvgColorVariables: Gets or sets the CSS custom properties SVG output writes for theme colours, matched by colour value (see SvgColorVariables.Apply), for example SvgColorVariables.SharedRoles of this theme and mode. Null (the default) writes literal colours; PNG output always does.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
value ChartForgeX.Themes.SvgColorVariables? required
The value.

Returns

VennDiagramBlock The same instance.

Examples

// C# initializer or property                                                                                                                             // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.SvgColorVariables = value;    vennDiagramBlock.SvgColorVariables(value);
public static VennDiagramBlock Theme(VennDiagramBlock vennDiagramBlock, VisualTheme value) #

Sets VisualBlockOptions.Theme: Gets or sets the visual theme used by renderers.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
value ChartForgeX.Themes.VisualTheme required
The value.

Returns

VennDiagramBlock The same instance.

Examples

// C# initializer or property                                                                                                                 // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.Theme = value;    vennDiagramBlock.Theme(value);
public static VennDiagramBlock ThemeMode(VennDiagramBlock vennDiagramBlock, ThemeMode value) #

Sets VisualBlockOptions.ThemeMode: Gets or sets the explicit mode of the shared theme.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
value ChartForgeX.ThemeMode required
The value.

Returns

VennDiagramBlock The same instance.

Examples

// C# initializer or property                                                                                                                     // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.ThemeMode = value;    vennDiagramBlock.ThemeMode(value);
public static VennDiagramBlock Title(VennDiagramBlock vennDiagramBlock, string value) #

Sets VisualBlock<VennDiagramBlock>.Title: Gets or sets the block title.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
value string required
The value.

Returns

VennDiagramBlock The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.VisualBlocks.VennDiagramBlock { Title = value };    vennDiagramBlock.Title(value);
public static VennDiagramBlock TransparentBackground(VennDiagramBlock vennDiagramBlock, bool value = true) #

Sets VisualBlockOptions.TransparentBackground: Gets or sets whether the full background should stay transparent.

Parameters

vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required
The instance.
value bool = true optional
The value; true when omitted.

Returns

VennDiagramBlock The same instance.

Examples

// C# initializer or property                                                                                                                                 // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.TransparentBackground = value;    vennDiagramBlock.TransparentBackground(value);