PDF::Bu...xtGState(3)

✨ PDF::Builder::Resource::ExtGState ✨

okay so bestie, welcome to PDF::Builder::Resource::ExtGState(3) β€” the graphics state dictionary support page πŸ’– it's giving "I control how your whole page actually looks" energy, fr fr.

This one inherits from PDF::Builder::Resource β€” so it's part of the family, got it? πŸ‘‘


πŸŽ€ METHODS πŸŽ€

🌸 new

$egs = PDF::Builder::Resource::ExtGState->new(@parameters)

Returns a brand new extgstate object, bestie ✨ and heads up, this one gets called from $pdf->egstate() β€” that's the plug, iykyk.

🌸 strokeadjust

$egs->strokeadjust($boolean)

(No information) β€” yeah, the docs literally ghosted us on this one πŸ’€ no cap.

🌸 strokeoverprint

$egs->strokeoverprint($boolean)

(No information) β€” again, nothing. the manpage said "not today" πŸ™ˆ.

🌸 filloverprint

$egs->filloverprint($boolean)

(No information) β€” empty, periodt πŸ’….

🌸 overprintmode

$egs->overprintmode($num)

(No information) β€” crickets, bestie πŸ¦—.

🌸 blackgeneration

$egs->blackgeneration($obj)

(No information) β€” nothing here either 😭.

🌸 blackgeneration2

$egs->blackgeneration2($obj)

(No information) β€” still nothing ✨.

🌸 undercolorremoval

$egs->undercolorremoval($obj)

(No information) β€” blank as my calendar on a friday night 🫢.

🌸 undercolorremoval2

$egs->undercolorremoval2($obj)

(No information) β€” no info, moving on 🌈.

🌸 transfer

$egs->transfer($obj)

(No information) β€” yeah nope πŸ’œ.

🌸 transfer2

$egs->transfer2($obj)

(No information) β€” nothing to report, bestie πŸŽ€.

🌸 halftone

$egs->halftone($obj)

(No information) β€” the docs simply did not show up πŸ”₯.

🌸 halftonephase

$egs->halftonephase($obj)

(No information) β€” empty, slay, next πŸ’….

🌸 smoothness

$egs->smoothness($num)

(No information) β€” no thoughts, head empty, same as this section πŸ’€.

🌸 font

$egs->font($font, $size)

(No information) β€” genuinely zero notes 😭.

🌸 linewidth

$egs->linewidth($size)

(No information) β€” nothing here, iconic of it honestly ✨.

🌸 linecap

$egs->linecap($cap)

(No information) β€” the void, bestie πŸ•³οΈ.

🌸 linejoin

$egs->linejoin($join)

(No information) β€” still the void 🫢.

🌸 miterlimit

$egs->miterlimit($limit)

(No information) β€” yeah nothing 🌸.

🌸 dash

$egs->dash(@dash)

(No information) β€” no info, no drama, periodt πŸ’….

🌸 flatness

$egs->flatness($flat)

(No information) β€” nothing πŸ’–.

🌸 renderingintent

$egs->renderingintent($intentName)

(No information) β€” yep, still nothing πŸ¦‹.

🌸 strokealpha

$egs->strokealpha($alpha)

This is the current stroking alpha constant β€” the constant shape or constant opacity value that gets used for stroking operations in the transparent imaging model. lowkey important, highkey iconic ✨.

🌸 fillalpha

$egs->fillalpha($alpha)

Same vibe as strokealpha, but for nonstroking (fill) operations πŸ’…. basically its sibling, same energy, different job.

🌸 blendmode

$egs->blendmode($blendname)
$egs->blendmode($blendfunctionobj)

The current blend mode to be used in the transparent imaging model πŸ”₯ β€” and yes bestie, it takes either a $blendname or a $blendfunctionobj, two ways to serve the same look πŸ’–.

🌸 alphaisshape

$egs->alphaisshape($boolean)

The alpha source flag (alpha is shape) β€” it says whether the current soft mask and alpha constant get interpreted as shape values (true) or opacity values (false) πŸ‘‘. so like, pick a lane, fr.

🌸 textknockout

$egs->textknockout($boolean)

The text knockout flag β€” this one decides the behavior of overlapping glyphs inside a text object in the transparent imaging model πŸ’«. overlapping glyphs stay dramatic, we love that for them.

🌸 transparency

$egs->transparency($t)

The graphics transparency β€” where 0 is fully opaque and 1 is fully transparent 🌈. this is a convenience method bestie, and it sets proper values for strokealpha and fillalpha for you. so convenient, so slay ✨.

🌸 opacity

$egs->opacity($op)

The graphics opacity β€” where 1 is fully opaque and 0 is fully transparent πŸŽ€. another convenience method, and it also sets proper values for strokealpha and fillalpha. (yes it's the mirror of transparency, don't let the numbers trip you up, bestie 🫢).


πŸ’€ reminder: a whole bunch of these methods are marked (No information) in the original, and I'm not out here inventing lore β€” so what you see is what the docs gave us. no guessing, no cap.

and that's the whole page, you ate it πŸ’…βœ¨

this manual page is from perl v5.42.0, dated 2026-01-17 β€” mwah, xoxo, go make some pretty PDFs bestie πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from