PolylineAnnotation

PolylineAnnotation

Overview

PolylineAnnotation is a type in Aspose.PDF FOSS for Go. Inherits from: polyAnnotationBase.

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

SignatureDescription
AnnotationType() → AnnotationTypeReturns the annotation type.
StartLineEnding() → LineEndingStyleStartLineEnding returns the style applied to the first vertex.
EndLineEnding() → LineEndingStyleEndLineEnding 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.

See Also

 English