javafx.ui.canvas
Text
Extends: Shape
A canvas node that displays text defined by a location (x, y),
a string of characters (content), and a font. If stroking and filling
and/or shape operations aren't required, it's often more useful to
use a View with a Label or SimpleLabel to represent text (for example,
in that case you can use HTML markup).
Attributes
- public ascent: Number
- protected awtFont: java.awt.Font?
- public content: String
- The character content of this text.
- public descent: Number
- public editable: Boolean
- Determines whether this text can be edited. Defaults to false.
- public font: Font?
- The font used to render the characters of this text.
- public leading: Number
- public textHeight: Number
- public verticalAlignment: Alignment
- public x: Number
- The x coordinate of the location of this text.
- public y: Number
- The y coordinate of the location of this text.
- private ztext: net.java.javafx.jazz.component.ZText
awtFill,
awtStroke,
composite,
fill,
stroke,
strokeComposite,
strokeDashArray,
strokeDashOffset,
strokeLineCap,
strokeLineJoin,
strokeMiterLimit,
strokeWidth,
zvisualnode
ag,
alignmentTransform,
antialiasClip,
bounds,
cachedCanvas,
canAcceptDrop,
cg,
clip,
clipNode,
currentHeight,
currentWidth,
currentX,
currentY,
cursor,
dragCount,
exportAsDrag,
exportDrag,
fadeGroup,
filter,
filterGroup,
focusable,
focused,
halign,
hover,
id,
isSelectionRoot,
mouseListener,
mouseMotionListener,
onDragEnter,
onDragExit,
onDrop,
onKeyDown,
onKeyTyped,
onKeyUp,
onMouseClicked,
onMouseDragged,
onMouseEntered,
onMouseExited,
onMouseMoved,
onMousePressed,
onMouseReleased,
opacity,
scaleToFitCanvas,
selectable,
sg,
tg,
toolTipText,
valign,
visible
Operations/Functions
- private updateY()
createNode,
doDragExport,
getF3,
getGlobalBounds,
getNode,
getVisualComponent,
handleAcceptDrop,
handleDragEnter,
handleDragExit,
handleDrop,
installMouseListener,
installMouseMotionListener,
makeCanvasMouseEvent