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

Attributes Inherited from javafx.ui.canvas.Shape

awtShape, awtTransform, awtTransformedShape, fillRule, outline, pathLength, transformListener, zshape

Attributes Inherited from javafx.ui.canvas.VisualNode

awtFill, awtStroke, composite, fill, stroke, strokeComposite, strokeDashArray, strokeDashOffset, strokeLineCap, strokeLineJoin, strokeMiterLimit, strokeWidth, zvisualnode

Attributes Inherited from javafx.ui.canvas.Node

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

Attributes Inherited from javafx.ui.canvas.CanvasElement

parentCanvasElement

Attributes Inherited from javafx.ui.canvas.Transformable

affineTransform, transform

Attributes Inherited from javafx.ui.canvas.AbstractPathElement

path

Operations/Functions

private updateY()

Operations/Functions Inherited from javafx.ui.canvas.Shape

angleAt, createShape, getAWTShape, getAWTTransformedShape, getShape, getTransformedShape, length, pointAt, toPath, transformAt

Operations/Functions Inherited from javafx.ui.canvas.VisualNode

createVisualNode

Operations/Functions Inherited from javafx.ui.canvas.Node

createNode, doDragExport, getF3, getGlobalBounds, getNode, getVisualComponent, handleAcceptDrop, handleDragEnter, handleDragExit, handleDrop, installMouseListener, installMouseMotionListener, makeCanvasMouseEvent

Operations/Functions Inherited from javafx.ui.canvas.CanvasElement

getCanvas, getContainer, hasParent, lower, onSetCanvas, raise, toBack, toFront

Operations/Functions Inherited from javafx.ui.canvas.Transformable

onTransformChanged, updateTransform

Operations/Functions Inherited from javafx.ui.canvas.AbstractPathElement

addTo