public interface IAnnotation extends IText, IPlot
IAnnotationSet
Modifier and Type | Method and Description |
---|---|
IReferenceObj |
getReferenceObject()
This function returns the referenced object of this annotation.
|
Point_2D |
getRelativePosition()
This function gets the relative position to the referenced object.
|
java.lang.String |
getValue()
This function returns the value of the string.
|
java.lang.String[] |
getValues()
This function returns the value of the string array.
|
int |
getxShift()
Get how much the annotation text will be offset to right or left (with negative values) from
the border/background
|
int |
getyShift()
Get how much the annotation text will be offset to up or down (with negative values) from the
border/background
|
boolean |
isVisible()
This function returns whether both this object and the referenced object are visible
|
void |
setReferenceObject(IReferenceObj refObj)
This function sets the referenced object of this annotation.
|
void |
setRelativePosition(Point_2D relativePos)
This function sets the relative position to the referenced object.
|
void |
setValue(java.lang.String value)
This function sets the value of the string.
|
void |
setValues(java.lang.String[] value)
This function sets the value of the string array.
|
void |
setVisible(boolean visible)
This function sets the object to either visible or invisible.
|
void |
setxShift(int xShift)
Set how much the annotation text will be offset to right or left (with negative values) from
the border/background
|
void |
setyShift(int yShift)
Set how much the annotation text will be offset to up or down (with negative values) from the
border/background
|
getAngle, getColor, getFont, setAngle, setColor, setFont
getAppearance, getBackgroundColor, getBorderColor, getBorderThickness, getCutCornerWidth, getDepth, getDialBGImageRelativeURL, getDialBGImageURL, getDialBGRatio, getDialBGState, getDialFGImageRelativeURL, getDialFGImageURL, getDialFGRatio, getDialFGState, getPosition, getRelativeHeight, getRelativeWidth, isBackgroundVisible, isBorderVisible, setAppearance, setBackgroundColor, setBackgroundVisible, setBorderColor, setBorderThickness, setBorderVisible, setCutCornerWidth, setDepth, setDialBGImage, setDialBGImage, setDialBGRatio, setDialBGState, setDialFGImage, setDialFGImage, setDialFGRatio, setDialFGState, setPosition, setRelativeHeight, setRelativeWidth
set3DShadingEnabled, setGradientCyclic, setGradientDesColor, setGradientEnabled, setGradientEndX, setGradientEndY, setGradientShade, setGradientStartX, setGradientStartY
getGradientDesColor, getGradientEndX, getGradientEndY, getGradientShade, getGradientStartX, getGradientStartY, is3DShadingEnabled, isGradientCyclic, isGradientEnabled
java.lang.String getValue()
void setValue(java.lang.String value)
value
- The string value to set.java.lang.String[] getValues()
void setValues(java.lang.String[] value)
value
- The string array value to set.void setVisible(boolean visible)
visible
- The state of the objectboolean isVisible()
IReferenceObj getReferenceObject()
IDataLine
void setReferenceObject(IReferenceObj refObj)
refObj
- The referenced objectIDataLine
Point_2D getRelativePosition()
void setRelativePosition(Point_2D relativePos)
relativePos
- The relative positionint getxShift()
void setxShift(int xShift)
xShift
- The X axis offset, accepts negative values, default 0int getyShift()
void setyShift(int yShift)
yShift
- The relative offset on Y axis, default 0