API Reference
Class
VisualBlock`1
Base class for fluent visual block models.
Inheritance
- Object
- VisualBlock`1
Type Parameters
- TSelf
- The concrete visual block type.
Methods
WithCard(System.Boolean arg1) #Sets whether the outer card surface should be rendered.
Parameters
- arg1 System.Boolean
WithPadding 2 overloads
WithPadding(System.Double arg1, System.Double arg2, System.Double arg3, System.Double arg4) #Sets the inner content padding.
Parameters
- arg1 System.Double
- arg2 System.Double
- arg3 System.Double
- arg4 System.Double
WithPngOutputScale(System.Int32 arg1) #Sets the output pixel multiplier used by PNG exports.
Parameters
- arg1 System.Int32
WithSize(System.Int32 arg1, System.Int32 arg2) #Sets the rendered block size.
Parameters
- arg1 System.Int32
- arg2 System.Int32
WithTheme(ChartForgeX.Themes.ChartTheme arg1) #Sets the visual theme.
Parameters
- arg1 ChartForgeX.Themes.ChartTheme
WithTransparentBackground(System.Boolean arg1) #Sets whether the full background should stay transparent.
Parameters
- arg1 System.Boolean