SetaPDF_Core_Resource_ExtGState Resource class for handling external graphic states
File: /SetaPDF v2/Core/Resource/ExtGState.php
Class hierarchy
Implements
Summary
Methods
- __construct()
- _setBoolean()
- _setName()
- _setNumeric()
- getDictionary()
- getIndirectObject()
- getResourceType()
- setBlendMode()
- setConstantOpacity()
- setConstantOpacityNonStroking()
- setLineCapStyle()
- setLineJoinStyle()
- setLineWidth()
- setMiterLimit()
- setOverprintControl()
- setOverprintControlNonStroking()
- setOverprintMode()
- setRenderingIntent()
Constants
TYPE_COLOR_SPACE
Type constant
TYPE_EXT_G_STATE
Type constant
TYPE_FONT
Type constant
TYPE_PATTERN
Type constant
TYPE_PROC_SET
Type constant
TYPE_PROPERTIES
Type constant
TYPE_SHADING
Type constant
TYPE_X_OBJECT
Type constant
Properties
$_indirectObject
The indirect object for this graphic state
Static Methods
createExtGStateDictionary()
Creates a graphics state parameter dictionary.
Methods
__construct()
The constructor.
Parameters
- $extGStateDictionary : SetaPDF_Core_Type_IndirectObjectInterface|SetaPDF_Core_Type_Dictionary|string
Exceptions
Throws InvalidArgumentException
See
_setBoolean()
Sets the boolean $value on the offset $name.
Parameters
- $name : null|string|SetaPDF_Core_Type_Name
- $value : string
_setName()
Sets the name $value on the offset $name.
Parameters
- $name : null|string|SetaPDF_Core_Type_Name
- $value : string
_setNumeric()
Sets the numeric $value on the offset $name.
Parameters
- $name : null|string|SetaPDF_Core_Type_Name
- $value : int|float
getIndirectObject()
Gets an indirect object for this graphics state parameter dictionary.
Parameters
- $document : SetaPDF_Core_Document|null
Exceptions
Throws InvalidArgumentException
See
setBlendMode()
Set the blend mode to be used in transparent image model.
Parameters
- $blendMode : null|string|SetaPDF_Core_Type_Name
See
- PDF 32000-1:2008 - 11.3.5, "Blend Mode" and 11.6.3, "Specifying Blending Colour Space and Blend Mode"
setConstantOpacityNonStroking()
Set the current non-stroking alpha constant.
Parameters
- $opacity : float
setLineCapStyle()
Set the line cap style.
Parameters
- $lineCapStyle : int|float
See
- PDF 32000-1:2008 - 8.4.3.3, "Line Cap Style"
setLineJoinStyle()
Set the line join style.
Parameters
- $lineJoinStyle : int|float
See
- PDF 32000-1:2008 - 8.4.3.4, "Line Join Style"
setLineWidth()
Set the line width.
Parameters
- $lineWidth : float
See
- PDF 32000-1:2008 - 8.4.3.2, "Line Width"
setMiterLimit()
Set the miter limit.
Parameters
- $miterLimit : int|float
See
- PDF 32000-1:2008 - 8.4.3.5, "Miter Limit"
setOverprintControl()
Set the flag specifying whether to apply overprint.
Parameters
- $overprintControl : boolean
See
- PDF 32000-1:2008 - 8.6.7, "Overprint Control"
setOverprintControlNonStroking()
Set the flag specifying whether to apply overprint for non-stroking operations.
Parameters
- $overprintControl : boolean
See
- PDF 32000-1:2008 - 8.6.7, "Overprint Control"
setOverprintMode()
Set the overprint mode.
Parameters
- $overprintMode : integer
See
- PDF 32000-1:2008 - 8.6.7, "Overprint Control"
setRenderingIntent()
Set the name of the rendering intent.
Parameters
- $renderingIntent : string
See
- PDF 32000-1:2008 - 8.6.5.8, "Rendering Intents"