Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TextSpan |
build() |
TextSpan.Builder |
copy(TextSpan model) |
TextSpan.Builder |
length(BigDecimal length)
The length of the selected text.
|
TextSpan.Builder |
offset(BigDecimal offset)
The offset of the selected text within the entire text.
|
public TextSpan.Builder offset(BigDecimal offset)
The offset of the selected text within the entire text.
offset
- the value to setpublic TextSpan.Builder length(BigDecimal length)
The length of the selected text.
length
- the value to setpublic TextSpan build()
public TextSpan.Builder copy(TextSpan model)
Copyright © 2016–2024. All rights reserved.