Class FlowComposer
- Namespace
- Rustaveli.Pdf
- Assembly
- Rustaveli.Pdf.dll
Builds a flow: items set side by side as words are set in a line, wrapping on to a new line wherever the next would not fit.
public sealed class FlowComposer
- Inheritance
-
FlowComposer
- Inherited Members
Methods
Add()
Adds an item at the end of the flow and returns its frame.
public IFrame Add()
Returns
Centered()
Centres each line.
public void Centered()
FlushBottom()
Sets items shorter than their line against its bottom.
public void FlushBottom()
FlushLeft()
Sets each line against the start, the default.
public void FlushLeft()
FlushRight()
Sets each line against the end.
public void FlushRight()
FlushTop()
Sets items shorter than their line against its top, the default.
public void FlushTop()
Gutter(float)
Sets the gap between neighbouring items in a line.
public void Gutter(float value)
Parameters
valuefloat
Justified()
Spreads each line but the last across the whole width, widening the gaps between items.
public void Justified()
Middle()
Centres items shorter than their line within it.
public void Middle()
SpaceBetweenLines(float)
Sets the gap between one line and the next.
public void SpaceBetweenLines(float value)
Parameters
valuefloat
SpacedAround()
Spreads each line across the whole width, sharing the extra room out around every item.
public void SpacedAround()