PolylineAnnotation
Overview
PolylineAnnotation is a type in Aspose.PDF FOSS for Go.
PolylineAnnotation draws an open polyline through a list of vertices, with a stroked border, optional line endings at the first and last vertex, and optional interior fill for closed endings.
This type provides 6 methods for working with PolylineAnnotation objects in Go programs.
Available methods include: AnnotationType, EndLineEnding, RegenerateAppearance, SetEndLineEnding, SetStartLineEnding, StartLineEnding.
All public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.
Methods
| Signature | Description |
|---|---|
AnnotationType() → AnnotationType | Returns the annotation type. |
StartLineEnding() → LineEndingStyle | StartLineEnding returns the style applied to the first vertex. |
EndLineEnding() → LineEndingStyle | EndLineEnding returns the style applied to the last vertex. |
SetStartLineEnding(s: LineEndingStyle) | SetStartLineEnding sets the start-side (first vertex) line-ending style. |
SetEndLineEnding(s: LineEndingStyle) | SetEndLineEnding sets the end-side (last vertex) line-ending style. |
RegenerateAppearance() | RegenerateAppearance forces /AP/N to be rebuilt from current properties. |