---
name: "PDF::Builder::Resource::ExtGState"
section: "3pm"
platform: "linux"
package: "perl-pdf-builder"
version: "3.028-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/PDF::Builder::Resource::ExtGState"
---

# PDF::Builder::Resource::ExtGState(3pm)

Graphics state dictionary support Inherits from PDF::Builder::Resource

## NAME

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

Inherits from PDF::Builder::Resource

## METHODS

### new

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

Returns a new extgstate object (called from `$pdf`-\>**egstate()**).

### strokeadjust

```
    $egs->strokeadjust($boolean)
```

(No information)

### strokeoverprint

```
    $egs->strokeoverprint($boolean)
```

(No information)

### filloverprint

```
    $egs->filloverprint($boolean)
```

(No information)

### overprintmode

```
    $egs->overprintmode($num)
```

(No information)

### blackgeneration

```
    $egs->blackgeneration($obj)
```

(No information)

### blackgeneration2

```
    $egs->blackgeneration2($obj)
```

(No information)

### undercolorremoval

```
    $egs->undercolorremoval($obj)
```

(No information)

### undercolorremoval2

```
    $egs->undercolorremoval2($obj)
```

(No information)

### transfer

```
    $egs->transfer($obj)
```

(No information)

### transfer2

```
    $egs->transfer2($obj)
```

(No information)

### halftone

```
    $egs->halftone($obj)
```

(No information)

### halftonephase

```
    $egs->halftonephase($obj)
```

(No information)

### smoothness

```
    $egs->smoothness($num)
```

(No information)

### font

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

(No information)

### linewidth

```
    $egs->linewidth($size)
```

(No information)

### linecap

```
    $egs->linecap($cap)
```

(No information)

### linejoin

```
    $egs->linejoin($join)
```

(No information)

### miterlimit

```
    $egs->miterlimit($limit)
```

(No information)

### dash

```
    $egs->dash(@dash)
```

(No information)

### flatness

```
    $egs->flatness($flat)
```

(No information)

### renderingintent

```
    $egs->renderingintent($intentName)
```

(No information)

### strokealpha

```
    $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.

### fillalpha

```
    $egs->fillalpha($alpha)
```

Same as strokealpha, but for nonstroking (fill) operations.

### blendmode

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

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

### alphaisshape

```
    $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*).

### textknockout

```
    $egs->textknockout($boolean)
```

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

### transparency

```
    $egs->transparency($t)
```

The graphics transparency, with 0 being fully opaque and 1 being fully  transparent. This is a convenience method, setting proper values for  `"strokealpha"` and `"fillalpha"`.

### opacity

```
    $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 `"strokealpha"` and  `"fillalpha"`.
