Class Polyline
Polyline annotations are used to hand draw polylines on a page. They can contain any number of sides defined by the polyline vertices. If no points are present, the annotation will not be visible.
Implements
Inherited Members
Namespace: PSPDFKit.Sdk.Models.Annotation.Shape
Assembly: Sdk.dll
Syntax
public sealed class Polyline : ShapeAnnotationBase, IAnnotation
Properties
| Edit this page View SourceLineCaps
Start and End line caps for the line. Each line cap can have one of these values: LineCap If the fillColor field is provided, its value is used as fill color for the line cap interior.
Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy), NullValueHandling = NullValueHandling.Ignore)]
public LineCaps LineCaps { get; set; }
Property Value
Type | Description |
---|---|
LineCaps |
Points
The points defining the polyline.
Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public IList<PointF> Points { get; set; }
Property Value
Type | Description |
---|---|
IList<PointF> |
Methods
| Edit this page View SourceToJson()
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
string |