Uses of Class
com.amalgamasimulation.desktop.html.text.HTMLTextBlock
Packages that use HTMLTextBlock
-
Uses of HTMLTextBlock in com.amalgamasimulation.desktop.html
Methods in com.amalgamasimulation.desktop.html that return HTMLTextBlockModifier and TypeMethodDescriptionstatic HTMLTextBlockCreates an HTML text block from the given objects. -
Uses of HTMLTextBlock in com.amalgamasimulation.desktop.html.text
Methods in com.amalgamasimulation.desktop.html.text that return HTMLTextBlockModifier and TypeMethodDescriptionHTMLTextBlock.appendParagraph(String text) Appends a paragraph to the text block.HTMLTextBlock.font(FontDescriptor fontDescriptor) Sets the font of the text block.Sets the font color of the text block.HTMLTextBlock.lineHeight(double lineHeight) Sets the line height of the text block as a multiple of the font size.HTMLTextBlock.marginInPx(Side side, int margin) Sets the margin of the text block for the specified side in pixels.HTMLTextBlock.maxWidthInPx(int maxWidth) Sets the maximum width of the text block in pixels.HTMLTextBlock.paddingInPx(Side side, int margin) Sets the padding of the text block for the specified side in pixels.HTMLTextBlock.relativeHeight(double height) Sets the relative height of the text block as a percentage.HTMLTextBlock.relativeWidth(double width) Sets the relative width of the text block as a percentage.HTMLTextBlock.textAlignment(TextAlignment textAlignment) Sets the text alignment of the text block.