Class BlankParagraph
java.lang.Object
io.github.somesourcecode.someguiapi.scene.lore.BlankParagraph
- All Implemented Interfaces:
Paragraph
A paragraph that contains just blank lines.
- Since:
- 2.0.0, 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new blank paragraph with a single blank line.BlankParagraph(int space) Constructs a new blank paragraph with the given amount of blank lines. -
Method Summary
-
Constructor Details
-
BlankParagraph
public BlankParagraph()Constructs a new blank paragraph with a single blank line.- Since:
- 2.0.0
-
BlankParagraph
public BlankParagraph(int space) Constructs a new blank paragraph with the given amount of blank lines.- Parameters:
space- the amount of blank lines- Since:
- 2.0.0
-
-
Method Details
-
getSpace
public int getSpace()Returns the amount of blank lines.- Returns:
- the amount of blank lines
- Since:
- 2.0.0
-
setSpace
Sets the amount of blank lines.- Parameters:
space- the amount of blank lines- Returns:
- the paragraph for method chaining
- Since:
- 2.0.0
-
getLines
Description copied from interface:ParagraphReturns a list representing the lines of the paragraph.
-