Packageorg.purepdf.pdf
Classpublic class PdfGState
InheritancePdfGState Inheritance PdfDictionary Inheritance PdfObject Inheritance it.sephiroth.utils.ObjectHash

Graphic state dictionary



Public Properties
 PropertyDefined By
 Inheritedsize : int
[read-only]
PdfDictionary
Protected Properties
 PropertyDefined By
 Inheritedbytes : Bytes
PdfObject
 InheriteddictionaryType : PdfName
PdfDictionary
 InheritedhashMap : HashMap
PdfDictionary
 InheritedindRef : PRIndirectReference
PdfObject
 Inheritedtype : int
PdfObject
Public Methods
 MethodDefined By
 Inherited
canBeInObjStm():Boolean
Whether this object can be contained in an object stream.
PdfObject
 Inherited
contains(key:PdfName):Boolean
PdfDictionary
 Inherited
dispose():void
PdfObject
 Inherited
Returns a PdfObject as a PdfArray, resolving indirect references.
PdfDictionary
 Inherited
PdfDictionary
 Inherited
Returns a PdfObject as a PdfNumber, resolving indirect references.
PdfDictionary
 Inherited
PdfObject
 Inherited
Returns the PdfObject associated to the specified key, resolving a possible indirect reference to a direct object.
PdfDictionary
 Inherited
PdfObject
 Inherited
getKeys():KeySet
PdfDictionary
 Inherited
getType():int
PdfObject
 Inherited
PdfDictionary
 Inherited
isArray():Boolean
PdfObject
 Inherited
isBoolean():Boolean
PdfObject
 Inherited
isDictionary():Boolean
PdfObject
 Inherited
isIndirect():Boolean
PdfObject
 Inherited
isName():Boolean
PdfObject
 Inherited
isNull():Boolean
PdfObject
 Inherited
isNumber():Boolean
PdfObject
 Inherited
isStream():Boolean
Checks if this PdfObject is of the type PdfStream
PdfObject
 Inherited
isString():Boolean
PdfObject
 Inherited
merge(other:PdfDictionary):void
PdfDictionary
 Inherited
PdfDictionary
 Inherited
put(key:PdfName, object:PdfObject):void
PdfDictionary
 Inherited
putAll(other:PdfDictionary):void
PdfDictionary
 Inherited
putEx(key:PdfName, value:PdfObject):void
Associates the specified PdfObject as value to the specified PdfName as key in this map.
PdfDictionary
 Inherited
remove(key:PdfName):void
PdfDictionary
  
setAlphaIsShape(v:Boolean):void
The alpha source flag specifying whether the current soft mask and alpha constant are to be interpreted as shape values (true) or opacity values (false).
PdfGState
  
The current blend mode to be used in the transparent imaging model.
PdfGState
  
setFillOpacity(n:Number):void
Sets the current fill opacity
PdfGState
 Inherited
Set the indirect reference
PdfObject
  
setOverPrintMode(ov:int):void
Sets the flag whether to toggle knockout behavior for overprinted objects.
PdfGState
  
setOverPrintNonStroking(ov:Boolean):void
Sets the flag whether to apply overprint for non stroking painting operations.
PdfGState
  
setOverPrintStroking(ov:Boolean):void
Sets the flag whether to apply overprint for stroking.
PdfGState
  
setStrokeOpacity(n:Number):void
Sets the current stroking alpha
PdfGState
  
setTextKnockout(v:Boolean):void
Determines the behavior of overlapping glyphs within a text object in the transparent imaging model.
PdfGState
 Inherited
toPdf(writer:PdfWriter, os:IOutputStream):void
[override]
PdfDictionary
 Inherited
toString():String
[override]
PdfDictionary
Protected Methods
 MethodDefined By
 Inherited
setContent(content:String):void
PdfObject
Public Constants
 ConstantDefined By
 InheritedARRAY : int = 5
[static]
PdfObject
 InheritedBOOLEAN : int = 1
[static]
PdfObject
 InheritedCATALOG : PdfName
[static]
PdfDictionary
 InheritedDICTIONARY : int = 6
[static]
PdfObject
 InheritedINDIRECT : int = 10
[static]
PdfObject
 InheritedNAME : int = 4
[static]
PdfObject
 InheritedNOTHING : String
[static]
PdfObject
 InheritedNULL : int = 8
[static]
PdfObject
 InheritedNUMBER : int = 2
[static]
PdfObject
 InheritedOUTLINES : PdfName
[static]
PdfDictionary
 InheritedPAGE : PdfName
[static]
PdfDictionary
 InheritedSTREAM : int = 7
[static]
PdfObject
 InheritedSTRING : int = 3
[static]
PdfObject
 InheritedTEXT_PDFDOCENCODING : String = PDF
[static]
PdfObject
 InheritedTEXT_UNICODE : String = UnicodeBig
[static]
PdfObject
Method Detail
setAlphaIsShape()method
public function setAlphaIsShape(v:Boolean):void

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

Parameters

v:Boolean

setBlendMode()method 
public function setBlendMode(bm:PdfName):void

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

Parameters

bm:PdfName — Blend Mode

See also

prg.purepdf.pdf.PdfBlendMode
setFillOpacity()method 
public function setFillOpacity(n:Number):void

Sets the current fill opacity

Parameters

n:Number — Number value between 0 and 1

setOverPrintMode()method 
public function setOverPrintMode(ov:int):void

Sets the flag whether to toggle knockout behavior for overprinted objects.

Parameters

ov:int — - accepts 0 or 1

setOverPrintNonStroking()method 
public function setOverPrintNonStroking(ov:Boolean):void

Sets the flag whether to apply overprint for non stroking painting operations.

Parameters

ov:Boolean

setOverPrintStroking()method 
public function setOverPrintStroking(ov:Boolean):void

Sets the flag whether to apply overprint for stroking.

Parameters

ov:Boolean

setStrokeOpacity()method 
public function setStrokeOpacity(n:Number):void

Sets the current stroking alpha

Parameters

n:Number — Float value between 0 and 1

setTextKnockout()method 
public function setTextKnockout(v:Boolean):void

Determines the behavior of overlapping glyphs within a text object in the transparent imaging model.

Parameters

v:Boolean