Uses of Class
codedraw.TextFormat
-
Uses of TextFormat in codedraw
Methods in codedraw that return TextFormatModifier and TypeMethodDescriptionImage.getTextFormat()Defines the styling of drawn text.TextFormat.setBold(boolean isBold) Defines whether the drawn text is bold.TextFormat.setFontName(String fontName, String... fallbackFontNames) Defines the font of the drawn text.TextFormat.setFontNameToDefault()Sets the font-name property to its default valueFont.DIALOG.TextFormat.setFontSize(int fontSize) Defines the font size of the drawn text.TextFormat.setItalic(boolean isItalic) Defines whether the drawn text is italic.TextFormat.setStrikethrough(boolean isStrikethrough) Defines whether the drawn text is strikethrough.TextFormat.setTextOrigin(TextOrigin textOrigin) Defines the origin of the drawn text relative to the position specified in theImage.drawText(double, double, String)method.TextFormat.setUnderlined(Underline underline) Defines the underline styling of the drawn text.Methods in codedraw with parameters of type TextFormatModifier and TypeMethodDescriptionvoidImage.setTextFormat(TextFormat textFormat) Defines the styling of drawn text.