Documentation ¶
Overview ¶
Package types provides pdfcpu's base types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rectangle ¶
type Rectangle struct {
LL, UR Point
}
Rectangle represents a rectangular region in userspace.
func NewRectangle ¶
NewRectangle returns a new rectangle for given corner coordinates.
func (Rectangle) AspectRatio ¶
AspectRatio returns the relation between width and height of a rectangle.
Click to show internal directories.
Click to hide internal directories.