Skip to content

SetTransparency not work #334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
guangxuewu opened this issue Jun 3, 2025 · 0 comments
Open

SetTransparency not work #334

guangxuewu opened this issue Jun 3, 2025 · 0 comments

Comments

@guangxuewu
Copy link

begin:

transparency := gopdf.Transparency{
	Alpha:         0.1,
	BlendModeType: "Normal",
}

	
    pdf.SetXY(0, float64(y))
pdf.Rotate(-45, 0, float64(y))
pdf.SetTransparency(transparency)
pdf.Text(strings.Repeat(watermark+strings.Repeat(" ", 10)+watermark, 10))
pdf.RotateReset() //reset

end
SetTransparency not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant