Name
extgs:SetAlphaStroke -- set stroking transparency
Synopsis
status = extgs:SetAlphaStroke(value)
Function
extgs:SetAlphaStroke() defines the transparency for stroking.

When extgs:SetAlphaStroke() succeeds, it returns #HPDF_OK. Otherwise, it returns an error code and the error handler is invoked.

Inputs
value
the alpha value for stroking; it must be between 0 and 1
Results
status
status code
Errors
#HPDF_INVALID_OBJECT - An invalid ExtGState handle was set.

#HPDF_EXT_GSTATE_READ_ONLY - The ExtGState object is read only.

#HPDF_EXT_GSTATE_OUT_OF_RANGE - An invalid value was set at value parameter.

#HPDF_FAILED_TO_ALLOC_MEM - Memory allocation failed.


Show TOC