public interface TextShape<S extends Shape<S,P>,P extends TextParagraph<S,P,?>> extends SimpleShape<S,P>, java.lang.Iterable<P>
Modifier and Type | Interface and Description |
---|---|
static class |
TextShape.TextAutofit
Specifies alist of auto-fit types.
|
static class |
TextShape.TextDirection
Vertical Text Types
|
Modifier and Type | Method and Description |
---|---|
Insets2D |
getInsets() |
TextShape.TextDirection |
getTextDirection() |
double |
getTextHeight()
Compute the cumulative height occupied by the text
|
java.util.List<? extends TextParagraph<S,P,?>> |
getTextParagraphs() |
VerticalAlignment |
getVerticalAlignment()
Returns the type of vertical alignment for the text.
|
boolean |
getWordWrap() |
boolean |
isHorizontalCentered()
Returns if the text is centered.
|
getFillStyle, getGeometry, getLineDecoration, getShadow, getShapeType, getStrokeStyle, isPlaceholder
getAdjustValue
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, setAnchor, setFlipHorizontal, setFlipVertical, setRotation
java.util.List<? extends TextParagraph<S,P,?>> getTextParagraphs()
Insets2D getInsets()
double getTextHeight()
VerticalAlignment getVerticalAlignment()
boolean isHorizontalCentered()
boolean getWordWrap()
TextShape.TextDirection getTextDirection()
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.