Class GraphicsState
Holds the alpha values of stroking and non-stroking operations.
public class GraphicsState
- Inheritance
-
GraphicsState
- Inherited Members
Constructors
GraphicsState()
Creates a graphics state with both alpha values set to 1.0.
public GraphicsState()
Methods
GetAlphaNonStroking()
Returns the alpha of non-stroking operations.
public float GetAlphaNonStroking()
Returns
GetAlphaStroking()
Returns the alpha of stroking operations.
public float GetAlphaStroking()
Returns
SetAlphaNonStroking(float)
Sets the alpha of non-stroking operations, such as fills, from 0.0 to 1.0. Other values are ignored.
public GraphicsState SetAlphaNonStroking(float ca)
Parameters
cafloat
Returns
SetAlphaStroking(float)
Sets the alpha of stroking operations, from 0.0 to 1.0. Other values are ignored.
public GraphicsState SetAlphaStroking(float CA)
Parameters
CAfloat