public class TextFieldAnnotation extends AnnotationBase implements ITextFieldAnnotation
Represents Text field annotation properties
Counter| Constructor and Description |
|---|
TextFieldAnnotation()
Initializes new instance of
TextFieldAnnotation class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(Object o)
Compares Text Field Annotations using standard object Equals method
|
boolean |
equals(TextFieldAnnotation other)
Compares Text Field Annotations using IEquatable Equals method
|
Integer |
getBackgroundColor()
Gets or sets annotation background color
|
Rectangle |
getBox()
Gets or sets annotation position
|
Integer |
getFontColor()
Gets or sets annotation text font color
|
String |
getFontFamily()
Gets or sets annotation text font family
|
Double |
getFontSize()
Gets or sets annotation text font size
|
Double |
getOpacity()
Gets or sets annotation opacity
|
Integer |
getPenColor()
Gets or sets annotation pen color
|
Byte |
getPenStyle()
Gets or sets annotation pen style
|
Byte |
getPenWidth()
Gets or sets annotation pen width
|
String |
getText()
Gets or sets text
|
Integer |
getTextHorizontalAlignment()
Gets or sets text horizontal alignment
|
int |
hashCode()
Returns HashCode of Text Field Annotation
|
void |
setBackgroundColor(Integer value)
Gets or sets annotation background color
|
void |
setBox(Rectangle value)
Gets or sets annotation position
|
void |
setFontColor(Integer value)
Gets or sets annotation text font color
|
void |
setFontFamily(String value)
Gets or sets annotation text font family
|
void |
setFontSize(Double value)
Gets or sets annotation text font size
|
void |
setOpacity(Double value)
Gets or sets annotation opacity
|
void |
setPenColor(Integer value)
Gets or sets annotation pen color
|
void |
setPenStyle(Byte value)
Gets or sets annotation pen style
|
void |
setPenWidth(Byte value)
Gets or sets annotation pen width
|
void |
setText(String value)
Gets or sets text
|
void |
setTextHorizontalAlignment(Integer value)
Gets or sets text horizontal alignment
|
String |
toString() |
equals, getCreatedOn, getId, getMessage, getPageNumber, getReplies, getStateBeforeAnnotation, getType, getUser, memberwiseClone, setCreatedOn, setId, setMessage, setPageNumber, setReplies, setStateBeforeAnnotation, setType, setUserpublic TextFieldAnnotation()
Initializes new instance of TextFieldAnnotation class.
public Object deepClone()
Returns new Instance with same values
deepClone in interface com.aspose.ms.System.ICloneabledeepClone in class AnnotationBasepublic boolean equals(Object o)
Compares Text Field Annotations using standard object Equals method
equals in interface com.aspose.ms.System.IEquatable<AnnotationBase>equals in class AnnotationBaseo - The object to compare with the current objectpublic final boolean equals(TextFieldAnnotation other)
Compares Text Field Annotations using IEquatable Equals method
other - The TextFieldAnnotation object to compare with the current objectpublic final Integer getBackgroundColor()
Gets or sets annotation background color
getBackgroundColor in interface IBackgroundColorpublic final Rectangle getBox()
Gets or sets annotation position
public final Integer getFontColor()
Gets or sets annotation text font color
getFontColor in interface IFontColorpublic final String getFontFamily()
Gets or sets annotation text font family
getFontFamily in interface IFontFamilypublic final Double getFontSize()
Gets or sets annotation text font size
getFontSize in interface IFontSizepublic final Double getOpacity()
Gets or sets annotation opacity
getOpacity in interface IOpacitypublic final Integer getPenColor()
Gets or sets annotation pen color
getPenColor in interface IPenColorpublic final Byte getPenStyle()
Gets or sets annotation pen style
getPenStyle in interface IPenStylepublic final Byte getPenWidth()
Gets or sets annotation pen width
getPenWidth in interface IPenWidthpublic final String getText()
Gets or sets text
public final Integer getTextHorizontalAlignment()
Gets or sets text horizontal alignment
getTextHorizontalAlignment in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.ITextHorizontalAlignmentpublic int hashCode()
Returns HashCode of Text Field Annotation
hashCode in class AnnotationBasepublic final void setBackgroundColor(Integer value)
Gets or sets annotation background color
setBackgroundColor in interface IBackgroundColorvalue - public final void setBox(Rectangle value)
Gets or sets annotation position
public final void setFontColor(Integer value)
Gets or sets annotation text font color
setFontColor in interface IFontColorvalue - public final void setFontFamily(String value)
Gets or sets annotation text font family
setFontFamily in interface IFontFamilyvalue - public final void setFontSize(Double value)
Gets or sets annotation text font size
setFontSize in interface IFontSizevalue - public final void setOpacity(Double value)
Gets or sets annotation opacity
setOpacity in interface IOpacityvalue - public final void setPenColor(Integer value)
Gets or sets annotation pen color
setPenColor in interface IPenColorvalue - public final void setPenStyle(Byte value)
Gets or sets annotation pen style
setPenStyle in interface IPenStylevalue - public final void setPenWidth(Byte value)
Gets or sets annotation pen width
setPenWidth in interface IPenWidthvalue - public final void setText(String value)
Gets or sets text
public final void setTextHorizontalAlignment(Integer value)
Gets or sets text horizontal alignment
setTextHorizontalAlignment in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.ITextHorizontalAlignmentvalue - public String toString()
toString in class AnnotationBase