| Modifier | Constructor and Description |
|---|---|
protected |
TextBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(Text x) |
B |
boundsType(TextBoundsType x)
Set the value of the
boundsType property for the instance constructed by this builder. |
Text |
build()
Make an instance of
Text based on the properties set on this builder. |
static TextBuilder<?> |
create()
Creates a new instance of TextBuilder.
|
B |
font(Font x)
Set the value of the
font property for the instance constructed by this builder. |
B |
fontSmoothingType(FontSmoothingType x)
Set the value of the
fontSmoothingType property for the instance constructed by this builder. |
B |
strikethrough(boolean x)
Set the value of the
strikethrough property for the instance constructed by this builder. |
B |
text(java.lang.String x)
Set the value of the
text property for the instance constructed by this builder. |
B |
textAlignment(TextAlignment x)
Set the value of the
textAlignment property for the instance constructed by this builder. |
B |
textOrigin(VPos x)
Set the value of the
textOrigin property for the instance constructed by this builder. |
B |
underline(boolean x)
Set the value of the
underline property for the instance constructed by this builder. |
B |
wrappingWidth(double x)
Set the value of the
wrappingWidth property for the instance constructed by this builder. |
B |
x(double x)
Set the value of the
x property for the instance constructed by this builder. |
B |
y(double x)
Set the value of the
y property for the instance constructed by this builder. |
applyTo, fill, smooth, stroke, strokeDashArray, strokeDashArray, strokeDashOffset, strokeLineCap, strokeLineJoin, strokeMiterLimit, strokeType, strokeWidthapplyTo, blendMode, cache, cacheHint, clip, cursor, depthTest, disable, effect, eventDispatcher, focusTraversable, id, inputMethodRequests, layoutX, layoutY, managed, mouseTransparent, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScroll, onScrollFinished, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoom, onZoomFinished, onZoomStarted, opacity, pickOnBounds, rotate, rotationAxis, scaleX, scaleY, scaleZ, style, styleClass, styleClass, transforms, transforms, translateX, translateY, translateZ, userData, visiblepublic static TextBuilder<?> create()
public void applyTo(Text x)
public B boundsType(TextBoundsType x)
boundsType property for the instance constructed by this builder.public B font(Font x)
font property for the instance constructed by this builder.public B fontSmoothingType(FontSmoothingType x)
fontSmoothingType property for the instance constructed by this builder.public B strikethrough(boolean x)
strikethrough property for the instance constructed by this builder.public B text(java.lang.String x)
text property for the instance constructed by this builder.public B textAlignment(TextAlignment x)
textAlignment property for the instance constructed by this builder.public B textOrigin(VPos x)
textOrigin property for the instance constructed by this builder.public B underline(boolean x)
underline property for the instance constructed by this builder.public B wrappingWidth(double x)
wrappingWidth property for the instance constructed by this builder.public B x(double x)
x property for the instance constructed by this builder.public B y(double x)
y property for the instance constructed by this builder.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.