VisualLayoutOptions
ChartForgeX.Rendering
The resolved viewport and outer padding used by every prepared visual.
Inheritance
- object
- VisualLayoutOptions
Usage
Explore 2 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 1
- Property VisualRenderContext.Layout
Accepted by parameters 1
- Constructor VisualRenderContext.VisualRenderContext
Constructors
public VisualLayoutOptions(VisualSize size, double padding = 24, bool fitHeightToContent = false) #Creates a viewport. Hosts implement fit sizing by supplying their measured viewport, or let row charts trim unused height.
Parameters
- size ChartForgeX.Rendering.VisualSize
- padding double = 24
- fitHeightToContent bool = false
public VisualLayoutOptions(VisualSize size, ChartPadding padding, bool fitHeightToContent = false) #Creates a fixed viewport with independently configured outer edge insets.
Parameters
- size ChartForgeX.Rendering.VisualSize
- padding ChartForgeX.Primitives.ChartPadding
- fitHeightToContent bool = false
Inherited Methods
Properties
public double Padding { get; } #Gets the smallest outer edge inset. Uniform layouts return their configured scalar padding.
public ChartPadding PaddingEdges { get; } #Gets the outer edge insets in logical units.
public bool FitHeightToContent { get; } #Gets whether row charts (schedules, progress bars, horizontal bullets, pictorial rows and horizontal linear gauges) may trim unused height within VisualLayoutOptions.Size. False keeps a fixed host viewport with top-aligned rows.