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, setUser
public TextFieldAnnotation()
Initializes new instance of TextFieldAnnotation
class.
public Object deepClone()
Returns new Instance with same values
deepClone
in interface com.aspose.ms.System.ICloneable
deepClone
in class AnnotationBase
public 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 AnnotationBase
o
- 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 IBackgroundColor
public final Rectangle getBox()
Gets or sets annotation position
public final Integer getFontColor()
Gets or sets annotation text font color
getFontColor
in interface IFontColor
public final String getFontFamily()
Gets or sets annotation text font family
getFontFamily
in interface IFontFamily
public final Double getFontSize()
Gets or sets annotation text font size
getFontSize
in interface IFontSize
public final Double getOpacity()
Gets or sets annotation opacity
getOpacity
in interface IOpacity
public final Integer getPenColor()
Gets or sets annotation pen color
getPenColor
in interface IPenColor
public final Byte getPenStyle()
Gets or sets annotation pen style
getPenStyle
in interface IPenStyle
public final Byte getPenWidth()
Gets or sets annotation pen width
getPenWidth
in interface IPenWidth
public 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.ITextHorizontalAlignment
public int hashCode()
Returns HashCode of Text Field Annotation
hashCode
in class AnnotationBase
public final void setBackgroundColor(Integer value)
Gets or sets annotation background color
setBackgroundColor
in interface IBackgroundColor
value
- 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 IFontColor
value
- public final void setFontFamily(String value)
Gets or sets annotation text font family
setFontFamily
in interface IFontFamily
value
- public final void setFontSize(Double value)
Gets or sets annotation text font size
setFontSize
in interface IFontSize
value
- public final void setOpacity(Double value)
Gets or sets annotation opacity
setOpacity
in interface IOpacity
value
- public final void setPenColor(Integer value)
Gets or sets annotation pen color
setPenColor
in interface IPenColor
value
- public final void setPenStyle(Byte value)
Gets or sets annotation pen style
setPenStyle
in interface IPenStyle
value
- public final void setPenWidth(Byte value)
Gets or sets annotation pen width
setPenWidth
in interface IPenWidth
value
- 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.ITextHorizontalAlignment
value
- public String toString()
toString
in class AnnotationBase