OverviewSingleDeprecated

jsx3.vector

class TextLine

Object
->jsx3.lang.Object
  ->jsx3.html.Tag
    ->jsx3.html.BlockTag
      ->jsx3.vector.Tag
        ->jsx3.vector.Shape
          ->jsx3.vector.TextLine

All Implemented Interfaces:

jsx3.html.FontTag

class TextLine
extends jsx3.vector.Shape
Renders text along an arbitrary line.

Constructor Summary
void
init(x1 : int, y1 : int, x2 : int, y2 : int, text : String)
The instance initializer.
Method Summary
String
Returns the text field.
void
setText(text : String)
Sets the text field, the text to display on the text path.
Methods Inherited From jsx3.html.FontTag
getColor, getFontFamily, getFontSize, getFontStyle, getFontWeight, getTextAlign, getTextDecoration, setColor, setFontFamily, setFontSize, setFontStyle, setFontWeight, setTextAlign, setTextDecoration
Methods Inherited From jsx3.vector.Shape
getFill, getPath, getStroke, pathArcTo, pathClose, pathLineTo, pathMoveTo, setFill, setPath, setStroke
Methods Inherited From jsx3.vector.Tag
getRotation, getToolTip, setRotation, setToolTip
Methods Inherited From jsx3.html.BlockTag
getBackgroundColor, getDimensions, getHeight, getLeft, getMargin, getMarginDimensions, getPadding, getPaddingDimensions, getPosition, getTop, getWidth, getZIndex, setBackgroundColor, setDimensions, setHeight, setLeft, setMargin, setPadding, setPosition, setTop, setWidth, setZIndex
Methods Inherited From jsx3.html.Tag
appendChild, getChildren, getClassName, getFirstChildOfType, getId, getParent, getProperty, getStyle, getTagNS, getTagName, onAppendChild, onRemoveChild, paint, paintDom, paintUpdate, release, removeChild, removeChildren, removeProperty, removeStyle, replaceChild, setClassName, setExtraStyles, setId, setProperty, setStyle, toString
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf
Constructor Detail

init

void init(x1 : int, y1 : int, x2 : int, y2 : int, text : String)
The instance initializer.

Parameters:

x1
y1
x2
y2
textthe text to display on the text path
Method Detail

getText

String getText()
Returns the text field.

Returns:

text  

setText

void setText(text : String)
Sets the text field, the text to display on the text path.

Parameters:

textthe new value for text