public interface ITextChartObject extends IChartDependentChartObject
IChartObject.ATTR_BOOLEAN, IChartObject.ATTR_COLOR, IChartObject.ATTR_DOUBLE, IChartObject.ATTR_INT, IChartObject.ATTR_LONG, IChartObject.ATTR_TEXT
PROPERTY_FONT, PROPERTY_FOREGROUND_ALPHA, PROPERTY_FOREGROUND_COLOR, PROPERTY_POINT_PRICE, PROPERTY_POINT_TIME, PROPERTY_STICKY, PROPERTY_STROKE
Modifier and Type | Method and Description |
---|---|
Color |
getFontColor()
Returns current text color
|
double |
getTextAngle()
Returns text rotation angle in radians (0.0 by default)
|
void |
setFontColor(Color color)
Sets text color
|
void |
setTextAngle(double angle)
Sets text rotation angle in radians
|
isStickToCandleTimeEnabled, move, setPrice, setStickToCandleTimeEnabled, setTime
addPropertyChangeListener, clone, getAttrBoolean, getAttrColor, getAttrDouble, getAttrInt, getAttrLong, getAttrText, getColor, getInstrument, getKey, getLineStyle, getLineWidth, getOpacity, getPointsCount, getPrice, getPropertyChangeListeners, getStroke, getText, getTextTruncation, getTime, getType, isLabelEnabled, isLocked, isMenuEnabled, isSticky, isVisibleInWorkspaceTree, removePropertyChangeListener, setAttrBoolean, setAttrColor, setAttrDouble, setAttrInt, setAttrLong, setAttrText, setChartObjectListener, setColor, setInstrument, setLineStyle, setLineWidth, setLocked, setMenuEnabled, setOpacity, setSticky, setStroke, setText, setText, setText, setText, setTextTruncation, setTooltip, setVisibleInWorkspaceTree
Color getFontColor()
void setFontColor(Color color)
color
- double getTextAngle()
void setTextAngle(double angle)
angle
- Copyright © 2016. All rights reserved.