Package com.helger.pdflayout.spec
Class TextAndWidthSpec
- java.lang.Object
-
- com.helger.pdflayout.spec.TextAndWidthSpec
-
- All Implemented Interfaces:
Serializable
@Immutable @MustImplementEqualsAndHashcode public class TextAndWidthSpec extends Object implements Serializable
This class wraps a text with a specified rendering width.- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TextAndWidthSpec(String sText, float fWidth)
-
-
-
Constructor Detail
-
TextAndWidthSpec
public TextAndWidthSpec(@Nonnull String sText, @Nonnegative float fWidth)
-
-
Method Detail
-
getWidth
@Nonnegative public final float getWidth()
-
-