{
    "mode": "perldoc",
    "parameter": "PDF::API2::Resource::ExtGState",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/PDF%3A%3AAPI2%3A%3AResource%3A%3AExtGState/json",
    "generated": "2026-06-13T14:02:58Z",
    "sections": {
        "NAME": {
            "content": "PDF::API2::Resource::ExtGState - Graphics state dictionary support\n",
            "subsections": []
        },
        "METHODS": {
            "content": "$egs = PDF::API2::Resource::ExtGState->new @parameters\nReturns a new extgstate object (called from $pdf->egstate).\n\n$egs->strokeadjust $boolean\n$egs->strokeoverprint $boolean\n$egs->filloverprint $boolean\n$egs->overprintmode $num\n$egs->blackgeneration $obj\n$egs->blackgeneration2 $obj\n$egs->undercolorremoval $obj\n$egs->undercolorremoval2 $obj\n$egs->transfer $obj\n$egs->transfer2 $obj\n$egs->halftone $obj\n$egs->halftonephase $obj\n$egs->smoothness $num\n$egs->font $font, $size\n$egs->linewidth $size\n$egs->linecap $cap\n$egs->linejoin $join\n$egs->miterlimit $limit\n$egs->dash @dash\n$egs->flatness $flat\n$egs->renderingintent $intentName\n$egs->strokealpha $alpha\nThe current stroking alpha constant, specifying the constant shape or constant opacity value\nto be used for stroking operations in the transparent imaging model.\n\n$egs->fillalpha $alpha\nSame as strokealpha, but for nonstroking operations.\n\n$egs->blendmode $blendname\n$egs->blendmode $blendfunctionobj\nThe current blend mode to be used in the transparent imaging model.\n\n$egs->alphaisshape $boolean\nThe alpha source flag (alpha is shape), specifying whether the current soft mask and alpha\nconstant are to be interpreted as shape values (true) or opacity values (false).\n\n$egs->textknockout $boolean\nThe text knockout flag, which determines the behavior of overlapping glyphs within a text\nobject in the transparent imaging model.\n\n$egs->transparency $t\nThe graphics transparency, with 0 being fully opaque and 1 being fully transparent. This is\na convenience method setting proper values for strokealpha and fillalpha.\n\n$egs->opacity $op\nThe graphics opacity , with 1 being fully opaque and 0 being fully transparent. This is a\nconvenience method setting proper values for strokealpha and fillalpha.\n",
            "subsections": []
        }
    },
    "summary": "PDF::API2::Resource::ExtGState - Graphics state dictionary support",
    "flags": [],
    "examples": [],
    "see_also": []
}