package
3.67.0
Repository: https://github.com/unidoc/unipdf.git
Documentation: pkg.go.dev

# Functions

DrawBezierPathWithCreator makes the bezier path with the content creator.
DrawPathWithCreator makes the path with the content creator.
NewCubicBezierCurve returns a new cubic Bezier curve.
NewCubicBezierPath returns a new empty cubic Bezier path.
NewPath returns a new empty path.
NewPoint returns a new point with the coordinates x, y.
NewVector returns a new vector with the direction specified by dx and dy.
NewVectorBetween returns a new vector with the direction specified by the subtraction of point a from point b (b-a).
NewVectorPolar returns a new vector calculated from the specified magnitude and angle.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BasicLine defines a line between point 1 (X1,Y1) and point 2 (X2,Y2).
BoundingBox represents the smallest rectangular area that encapsulates an object.
Circle represents a circle shape with fill and border properties that can be drawn to a PDF content stream.
CubicBezierCurve is defined by: R(t) = P0*(1-t)^3 + P1*3*t*(1-t)^2 + P2*3*t^2*(1-t) + P3*t^3 where P0 is the current point, P1, P2 control points and P3 the final point.
CubicBezierPath represents a collection of cubic Bezier curves.
CurvePolygon is a multi-point shape with rings containing curves that can be drawn to a PDF content stream.
Line defines a line shape between point 1 (X1,Y1) and point 2 (X2,Y2).
Path consists of straight line connections between each point defined in an array of points.
Point represents a two-dimensional point.
PolyBezierCurve represents a composite curve that is the result of joining multiple cubic Bezier curves.
Polygon is a multi-point shape that can be drawn to a PDF content stream.
Polyline defines a slice of points that are connected as straight lines.
Rectangle is a shape with a specified Width and Height and a lower left corner at (X,Y) that can be drawn to a PDF content stream.
Vector represents a two-dimensional vector.

# Type aliases

LineEndingStyle defines the line ending style for lines.
LineStyle refers to how the line will be created.