@Immutable @MustImplementEqualsAndHashcode public class TextAndWidthSpec extends Object
| Constructor and Description |
|---|
TextAndWidthSpec(String sText,
float fWidth) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
getAsText(Iterable<? extends TextAndWidthSpec> aTexts) |
String |
getText() |
float |
getWidth() |
int |
hashCode() |
String |
toString() |
public TextAndWidthSpec(@Nonnull String sText, @Nonnegative float fWidth)
@Nonnegative public float getWidth()
@Nonnull public static String getAsText(@Nonnull Iterable<? extends TextAndWidthSpec> aTexts)
Copyright © 2014–2016 Philip Helger. All rights reserved.