The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PDF::API2::Resource::ExtGState - Graphics state dictionary support

METHODS

$egs = PDF::API2::Resource::ExtGState->new @parameters

Returns a new extgstate object (called from $pdf->extgstate).

$font = PDF::API2::Resource::ExtGState->new_api $api, $name

Returns a egstate-font object. This method is different from 'new' that it needs an PDF::API2-object rather than a Text::PDF::File-object.

$egs->strokeadjust $boolean
$egs->strokeoverprint $boolean
$egs->filloverprint $boolean
$egs->overprintmode $num
$egs->blackgeneration $obj
$egs->blackgeneration2 $obj
$egs->undercolorremoval $obj
$egs->undercolorremoval2 $obj
$egs->transfer $obj
$egs->transfer2 $obj
$egs->halftone $obj
$egs->halftonephase $obj
$egs->smoothness $num
$egs->font $font, $size
$egs->linewidth $size
$egs->linecap $cap
$egs->linejoin $join
$egs->miterlimit $limit
$egs->dash @dash
$egs->flatness $flat
$egs->renderingintent $intentName
$egs->strokealpha $alpha

The current stroking alpha constant, specifying the constant shape or constant opacity value to be used for stroking operations in the transparent imaging model.

$egs->fillalpha $alpha

Same as strokealpha, but for nonstroking operations.

$egs->blendmode $blendname
$egs->blendmode $blendfunctionobj

The current blend mode to be used in the transparent imaging model.

$egs->alphaisshape $boolean

The alpha source flag (alpha is shape), specifying whether the current soft mask and alpha constant are to be interpreted as shape values (true) or opacity values (false).

$egs->textknockout $boolean

The text knockout flag, which determines the behavior of overlapping glyphs within a text object in the transparent imaging model.

$egs->transparency $t

The graphics tranparency , with 0 being fully opaque and 1 being fully transparent. This is a convenience method setting proper values for strokeaplha and fillalpha.

$egs->opacity $op

The graphics opacity , with 1 being fully opaque and 0 being fully transparent. This is a convenience method setting proper values for strokeaplha and fillalpha.