watermark

command
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2025 License: MIT Imports: 8 Imported by: 0

README

Watermark Example

This sample shows how to layer a translucent diagonal text watermark on top of pages that were produced with the fluent builder API. It demonstrates:

  • mixing high-level drawing helpers with low-level semantic.Operation sequences
  • adding an ExtGState entry for transparency control
  • reusing the page resources to keep the watermark logic simple

Run It

go run ./examples/watermark [output.pdf]

The program defaults to watermark.pdf in the current directory.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL