HtmlBuilder

open class HtmlBuilder

Allows for the building of HTML strings, similar to the DualTelemetry HtmlItem for Driver Station telemetry. This serves as a good alternative when not working with the Driver Station telemetry messages, such as in the case of Driver Station logs, FtcDashboard, or other HTML output.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Insert a background color to display the text in.
Link copied to clipboard
Insert big text into the HTML string.
Link copied to clipboard
Insert bold text into the HTML string.
Link copied to clipboard
Insert a foreground color to display the text in.
Link copied to clipboard
Insert a new line into the HTML string.
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun header(level: Int, @NonNull text: String): Text.HtmlBuilder
Insert a header into the HTML string.
Link copied to clipboard
Insert italic text into the HTML string.
Link copied to clipboard
Insert small text into the HTML string.
Link copied to clipboard
Insert strikethrough text into the HTML string.
Link copied to clipboard
Insert subscript text into the HTML string.
Link copied to clipboard
Insert superscript text into the HTML string.
Link copied to clipboard
Insert a custom tag supplied by the user into the HTML string.
Link copied to clipboard
Insert normal text into the HTML string.
Link copied to clipboard
open fun toString(): String
Build the HTML string.
Link copied to clipboard
Insert underline text into the HTML string.