public class NewLine extends ControlFragment
DEFAULT_FONT_DESCRIPTOR| Constructor and Description |
|---|
NewLine()
Creates a new line with the
ControlFragment.DEFAULT_FONT_DESCRIPTOR. |
NewLine(float fontSize)
Creates a new line with the
ControlFragment.DEFAULT_FONT_DESCRIPTOR's font and the given
height. |
NewLine(FontDescriptor fontDescriptor)
Creates a new line with the given font descriptor.
|
public NewLine()
ControlFragment.DEFAULT_FONT_DESCRIPTOR.public NewLine(float fontSize)
ControlFragment.DEFAULT_FONT_DESCRIPTOR's font and the given
height.fontSize - the font size, resp. the height of the new line.public NewLine(FontDescriptor fontDescriptor)
fontDescriptor - the font and size associated with this new line.Copyright © 2022. All rights reserved.