Class ShapeAnnotationSettings
Specifies and allows editing the appearance of the selected shape annotation.
Inheritance
Namespace: Syncfusion.SfPdfViewer.Android
Assembly: Syncfusion.SfPdfViewer.Android.dll
Syntax
public class ShapeAnnotationSettings : Object
Properties
BorderEffect
Gets or sets the
Declaration
public BorderEffect BorderEffect { get; set; }
Property Value
Type |
---|
BorderEffect |
Remarks
The value of this API does not affect line, arrow and circle annotations.
Constraints
Gets or sets a value that indicates the constraints to the annotation interactions.
Declaration
public AnnotationConstraints Constraints { get; set; }
Property Value
Type |
---|
AnnotationConstraints |
IsLocked
Gets or sets a value that indicates whether the annotations can be edited. if this property is true, annotation selection, resizing, moving and editing actions will be disabled for the user. Default value is false.
Declaration
public bool IsLocked { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
When the property is true, only the tapped event will be raised, and the selected event will not be raised.
MinimumLength
Gets or sets the minimum length to which the annotation can be resized.
Declaration
public float MinimumLength { get; set; }
Property Value
Type |
---|
System.Single |
Remarks
The value of this API is applicable only to the arrow and line annotation
MinimumSize
Gets or sets the minimum size to which the annotation can be resized.
Declaration
public Size MinimumSize { get; set; }
Property Value
Type |
---|
Android.Util.Size |
Remarks
The value of this API does not affect line, arrow, polygon, cloud annotation�s minimum size
Opacity
Gets or sets the System.Single opacity of the selected shape.
Declaration
public float Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The opacity allows the user to apply the transparency in selected shape's stroke. |
StrokeColor
Gets or sets the Android.Graphics.Color stroke color of the selected shape.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type | Description |
---|---|
Android.Graphics.Color | The stroke color allows the user to change the color of the selected shape's stroke. |
Thickness
Gets or sets the System.Int32 thickness of the selected shape.
Declaration
public float Thickness { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The thickness allows the user to change the selected shape's stroke width. |