VennDiagramBlockFluent
ChartForgeX.VisualBlocks
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
- The instance.
- configure System.Action<ChartForgeX.Accessibility.VisualAccessibility>
- Configures the value.
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions>
- Configures the value.
public static VennDiagramBlock Padding(VennDiagramBlock vennDiagramBlock, ChartPadding value) #Sets VisualBlockOptions.Padding: Gets or sets the inner content padding.
Parameters
- vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock
- The instance.
- value ChartForgeX.Primitives.ChartPadding
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- value ChartForgeX.Primitives.ChartSize
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value ChartForgeX.Themes.SvgColorVariables?
- The value.
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
- The instance.
- value ChartForgeX.Themes.VisualTheme
- The value.
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
- The instance.
- value ChartForgeX.ThemeMode
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.TransparentBackground = value; vennDiagramBlock.TransparentBackground(value);