|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaspose.pdf.GraphNote
public class GraphNote
Represents a note in a
Typical usages are the following:
Field Summary | |
---|---|
static float |
DEFAULT_HORIZ_SCALING
|
Constructor Summary | |
---|---|
GraphNote()
Constructor - initializes a new instance of the GraphNote class. |
|
GraphNote(Section section)
Constructor - initializes a new instance of the GraphNote class. |
Method Summary | |
---|---|
protected java.lang.Object |
clone()
|
java.lang.String |
getContent()
Gets a string that indicates the content of the note. |
float |
getHorizontalScaling()
Get value of horizontal scale for text. |
LongSideAlignmentType |
getLongSideAlignment()
Returns an alignment of text relatively to long side of text. |
float |
getPosX()
Gets a float value that indicates the x-coordinate of the beginning position of the note. |
float |
getPosY()
Gets a float value that indicates the y-coordinate of the beginning position of the note. |
float |
getRotationAngle()
Returns text rotation angle. |
TextDirection |
getTextDirection()
Returns a direction of a text from it's origin. |
TextInfo |
getTextInfo()
Gets the text info of the note. |
boolean |
isVertical()
Used to define path of text when letters go one under another |
void |
setContent(java.lang.String noteContent)
Sets a string that indicates the content of the note. |
void |
setHorizontalScaling(float horizontalScaling)
Set value of horizontal scaling for text. |
void |
setLongSideAlignment(LongSideAlignmentType longSideAlignment)
Sets an alignment of text relatively to long side of text. |
void |
setPosX(float posX)
Sets a float value that indicates the x-coordinate of the beginning position of the note. |
void |
setPosY(float posY)
Gets a float value that indicates the y-coordinate of the beginning position of the note. |
void |
setRotationAngle(float rotationAngle)
Sets text rotation angle. |
void |
setTextDirection(TextDirection textDirection)
Sets a direction of a text from it's origin. |
void |
setTextInfo(TextInfo noteTextInfo)
Sets the text info of the note. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final float DEFAULT_HORIZ_SCALING
Constructor Detail |
---|
public GraphNote()
GraphNote
class.
public GraphNote(Section section)
GraphNote
class.
section
- The section object.Method Detail |
---|
public java.lang.String getContent()
public void setContent(java.lang.String noteContent)
noteContent
- A String value.public TextInfo getTextInfo()
TextInfo
object.public void setTextInfo(TextInfo noteTextInfo)
noteTextInfo
- A TextInfo
object.public float getPosX()
public void setPosX(float posX)
posX
- A float value.public float getPosY()
public void setPosY(float posY)
posY
- A float value.public float getRotationAngle()
public void setRotationAngle(float rotationAngle)
public boolean isVertical()
public LongSideAlignmentType getLongSideAlignment()
public void setLongSideAlignment(LongSideAlignmentType longSideAlignment)
public TextDirection getTextDirection()
public void setTextDirection(TextDirection textDirection)
public float getHorizontalScaling()
public void setHorizontalScaling(float horizontalScaling)
horizontalScaling
- - horizontal scaling value in percentsprotected java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |