SquigglyAnnotation
Inheritance: java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase
All Implemented Interfaces: com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.ISquigglyAnnotation
public class SquigglyAnnotation extends AnnotationBase implements ISquigglyAnnotation
Represents squiggly annotation properties
Learn more
Constructor | Description |
---|---|
SquigglyAnnotation() | Initializes new instance of SquigglyAnnotation class. |
Methods
Method | Description |
---|---|
getFontColor() | Gets or sets annotation text font color |
setFontColor(Integer value) | Gets or sets annotation text font color |
getBackgroundColor() | Gets or sets annotation text font color |
setBackgroundColor(Integer value) | Gets or sets annotation text font color |
getSquigglyColor() | Gets or sets annotation text font color |
setSquigglyColor(Integer value) | Gets or sets annotation text font color |
getOpacity() | Gets or sets annotation opacity |
setOpacity(Double value) | Gets or sets annotation opacity |
getPoints() | Coordinates |
setPoints(List |
Coordinates |
equals(SquigglyAnnotation other) | Compares squiggly Annotations using IEquatable Equals method |
equals(Object obj) | Compares Squiggly Annotations using standard object Equals method |
hashCode() | Returns HashCode of Squiggly Annotation |
deepClone() | Returns new Instance with same values |
toString() | |
toString(ToStringStyle toStringStyle) |
SquigglyAnnotation()
public SquigglyAnnotation()
Initializes new instance of SquigglyAnnotation class.
getFontColor()
public final Integer getFontColor()
Gets or sets annotation text font color
Returns: java.lang.Integer -
setFontColor(Integer value)
public final void setFontColor(Integer value)
Gets or sets annotation text font color
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.Integer |
getBackgroundColor()
public final Integer getBackgroundColor()
Gets or sets annotation text font color
Returns: java.lang.Integer -
setBackgroundColor(Integer value)
public final void setBackgroundColor(Integer value)
Gets or sets annotation text font color
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.Integer |
getSquigglyColor()
public final Integer getSquigglyColor()
Gets or sets annotation text font color
Returns: java.lang.Integer -
setSquigglyColor(Integer value)
public final void setSquigglyColor(Integer value)
Gets or sets annotation text font color
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.Integer |
getOpacity()
public final Double getOpacity()
Gets or sets annotation opacity
Returns: java.lang.Double -
setOpacity(Double value)
public final void setOpacity(Double value)
Gets or sets annotation opacity
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.Double |
getPoints()
public final List<Point> getPoints()
Coordinates
Returns: java.util.List<com.groupdocs.annotation.models.Point> -
setPoints(List value)
public final void setPoints(List<Point> value)
Coordinates
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.util.List<com.groupdocs.annotation.models.Point> |
equals(SquigglyAnnotation other)
public final boolean equals(SquigglyAnnotation other)
Compares squiggly Annotations using IEquatable Equals method
Parameters:
Parameter | Type | Description |
---|---|---|
other | SquigglyAnnotation | The SquigglyAnnotation object to compare with the current object |
Returns: boolean
equals(Object obj)
public boolean equals(Object obj)
Compares Squiggly Annotations using standard object Equals method
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | The object to compare with the current object |
Returns: boolean
hashCode()
public int hashCode()
Returns HashCode of Squiggly Annotation
Returns: int
deepClone()
public Object deepClone()
Returns new Instance with same values
Returns: java.lang.Object
toString()
public String toString()
Returns: java.lang.String
toString(ToStringStyle toStringStyle)
public String toString(ToStringStyle toStringStyle)
Parameters:
Parameter | Type | Description |
---|---|---|
toStringStyle | org.apache.commons.lang3.builder.ToStringStyle |
Returns: java.lang.String